<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Email Link in a HTML Template in a Table</title><link>https://community.appian.com/discussions/f/general/11805/email-link-in-a-html-template-in-a-table</link><description>Hello, 
 
 I was able to generate a table dynamically based on the data entered by the user but. 
 we need to give a link for each record with an Identifier in the Table. 
 Can any one help me with this? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Email Link in a HTML Template in a Table</title><link>https://community.appian.com/thread/60440?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 19:49:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fcab943c-87c8-48c7-9769-3e63d03a158b</guid><dc:creator>isaace</dc:creator><description>To go a little further on Datagiri&amp;#39;s comment, you could use something like this:&lt;br /&gt;
&lt;br /&gt;
a!forEach(&lt;br /&gt;
  items: ri!yourRecordIDs,&lt;br /&gt;
  expression: &amp;quot;&amp;lt;a href=&amp;quot;&amp;amp;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;amp;urlforrecord(&lt;br /&gt;
    recordType: cons!yourRecord,&lt;br /&gt;
    recordIds: fv!item&lt;br /&gt;
  )&amp;amp;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;amp;&amp;quot;&amp;gt;Record ID: &amp;quot;&amp;amp; fv!item&amp;amp;&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
which will output html (as text within Appian).  You can then feed this as a single parameter to a custom email template wherever you like.  Modify the expression as needed to make it an html table if you prefer.  If you&amp;#39;re working with a table, I&amp;#39;d recommend making the entire table a single input to the email template and modifying the expression as needed.  &lt;br /&gt;
&lt;br /&gt;
In summary, write an expression that generates the html (table), and feed that into an email template wherever you wish.  There is probably a more elegant way to get the expression to handle things like quotation marks :).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Email Link in a HTML Template in a Table</title><link>https://community.appian.com/thread/52149?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2018 07:41:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49075af9-0bc5-406c-bb03-30f042686434</guid><dc:creator>Dastagiri Dudekula</dc:creator><description>Use &amp;lt;a href=&amp;quot;###recLink###&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Click here&amp;lt;/a&amp;gt; in html code and generate record link using urlforrecord(cons!myrecordtype, &amp;quot;identifier&amp;quot;). You have to manage looping&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Email Link in a HTML Template in a Table</title><link>https://community.appian.com/thread/52135?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 21:11:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4a9bec-20c0-40c9-82db-9abd878402c0</guid><dc:creator>Mike Schmitt</dc:creator><description>Can you provide slightly more detail about what you did to generate tables dynamically, what the dynamic user data is like, and what exactly you need your links to do?  Have you tried anything yet and if so, is anything in particular going wrong?&lt;br /&gt;
&lt;br /&gt;
We can probably help you accomplish this but there are too many variables to give you the correct advice without some more of the details as requested above.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Email Link in a HTML Template in a Table</title><link>https://community.appian.com/thread/52134?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 21:10:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d09eb4a-dc7c-4241-9aeb-f2f27d2eb01f</guid><dc:creator>Josh</dc:creator><description>&lt;p&gt;You can use fn!urlforrecord to generate the url stub for a record given the record type and record identifier. Ex. &amp;nbsp;&amp;quot;&amp;lt;a href=&amp;quot;&amp;quot;&amp;quot; &amp;amp; fn!urlforrecord(cons!APP_YOUR_RECORD_TYPE, ri!recordId) &amp;amp; &amp;quot;&amp;quot;&amp;quot;&amp;gt;Click Me&amp;lt;/a&amp;gt;&amp;quot;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>