Design SPD alert as the OOTB

Hi,

I would like to send a notification to users via SPD2013 but have the layout of the email like the OOTB style, with the table style and all the item's columns.

Is that possible?

Thanks a lot in advance

January 26th, 2015 12:02pm

Hi,

Based on your description, my understanding is that you want to send the workflow email with the table style and all the columns in the current item.

I recommend modify the html code for the Send an Email step in the workflow and you can display the columns based on your need.

Please follow the steps below:

  1. Edit the workflow in SharePoint Designer 2013, and then highlight the step Send an Email.
  2. Click Advanced Properties in the ribbon and click the text box next to Body.
  3. Click the ellipsis button and then the String Builder opens.
  4. Add the code below inside <body> tag, and in the code you can add more <tr> and <td> to display more columns. And the column value should be added using the Add or Change Lookup button, for example [%Current Item:Title%] in the code.
<table style="width:100%">
  <tr>
    <td>Title</td>
    <td>[%Current Item:Title%] </td>		
  </tr>
  <tr>
    <td>Created By</td>
    <td>[%Current Item:Created By%] </td>		
  </tr>
  <tr>
    <td>Created</td>
<td>[%Current Item:Created%] </td>		
  </tr>
</table>

After that, the email alert will be like this(in my example, I added Title, Toggle, DateTime column in my custom list):

Best regards.

Thanks

Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 8:42am

Thanks Victoria. How can i accomplish the look and feel of the "Alert Me" that i can set when an item changes/added? Something like this:

January 27th, 2015 9:30am

Hi,

All the full links need to set automatically in the html code in the workflow email.

The link for "Modify my alert settings" is http://server/_layouts/15/MySubs.aspx.

You can set the link in the code like this:

<SPAN><A href="http://sp/_layouts/15/MySubs.aspx">Modify my alert settings</A></SPAN>

And it is the same way to set the other links in the email.

Best regards.

Thanks

Free Windows Admin Tool Kit Click here and download it now
January 27th, 2015 10:28am

Hi,

How is everything going?

Is there anything update about this issue?

Best regards.

Thanks

February 2nd, 2015 7:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics