?
Solved

SharePoint 2010 Workflow Email and HTML

Posted on 2012-12-31
4
Medium Priority
?
400 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
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

809 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