Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SharePoint 2010 Workflow Email and HTML

Posted on 2012-12-31
4
Medium Priority
?
395 Views
Last Modified: 2013-01-07
Hi,

I have a SharePoint Workflow which I am using to send an email to certain employees, based on what is entered in an InfoPath Form. It is used to inform the Employees of their share of a Bill which has been sent to a Client.

The information is entered in a Repeating Table in InfoPath which the fields are then merged on submission. At the minute my email has a layout like in Pic 1.

I would like to format the email using HTML Tags in order to make it look like Pic 2. I know absolutly nothing about HTML Tags so I'm not sure if this is possible or not. I don't mind showing the boarder, or not, if that makes it easier.

I have been able to create text within a table using the HTML Tags below which I found on another site. I'm not sure how to create a new column beside the existing one though. Can anyone help?

<html>
<table border=1>
<tr>
<td>
testing
</td>
</tr>
</table>
</html>

Thanks
Tugsol
Pic-1.jpg
Pic-2.jpg
0
Comment
Question by:Tugsol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38732535
<html>
<table border=1>
<tr>
<th>
Name:
</th>
<th>
£
</th>
</tr>
<tr>
<td>Your Name Data</td>
<td>Your Monetary Data</td>
</tr>
</table>
</html>
0
 

Author Comment

by:Tugsol
ID: 38750672
Hi Jamie,

Thanks for your post. That has helped to get the table into the body of the email. Is there any way you can control the Alignment or Wrapping of the text?

Using the HTML Tags you have provided above gives me what is shown in Pic 3. The First Name lines up with the Second Value. The text fields are also bottom and top aligned by the looks of things.

Any way to change this?

Thanks
Pic-3.jpg
0
 
LVL 32

Accepted Solution

by:
Jamie McAllister MVP earned 2000 total points
ID: 38750990
You can apply Style to your table elements through a style sheet or in the markup you're writing.

If direct in the markup a table cell could look like;

<td align=right valign=top>Your Content</td>

Style can also be applied at higher level such as the whole table.

There's some good guidance on the possibilities here;

http://www.w3schools.com/tags/tag_td.asp
0
 

Author Closing Comment

by:Tugsol
ID: 38751318
Great, thanks!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question