<?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>link label dynamic text display</title><link>https://community.appian.com/discussions/f/new-to-appian/21618/link-label-dynamic-text-display</link><description>Hi 
 
 My use case is as follows. 
 I have a button that initiates a process that creates an excel follow. 
 After pressing the button, and upon successful creation of the excel file, I want to display to the user a document download link. 
 As for the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: link label dynamic text display</title><link>https://community.appian.com/thread/84529?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 15:14:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c603128-318f-491e-91d7-3abe797209d8</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;As a tangent, I recommend using &lt;em&gt;&lt;strong&gt;only&lt;/strong&gt;&lt;/em&gt; the Rich Text Display Field to show document download links (there&amp;#39;s no reason to use &lt;em&gt;a!linkField()&lt;/em&gt; anymore, for any reason IMHO).&amp;nbsp; The primary reasoning here is that in the RTDF, the link can be enabled/disabled dynamically, and at the same time, you can easily add extra elements like icons if/when you choose.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!richTextDisplayField(
  value: a!richTextItem(
    text: {
      local!documentName
    },
    link: a!documentDownloadLink(
      document: local!generatedDoc,
      showWhen: not(isnull(local!generatedDoc))
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link label dynamic text display</title><link>https://community.appian.com/thread/84528?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 14:50:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f93a479-d1b3-4892-a576-a5a17b96c815</guid><dc:creator>Saeed</dc:creator><description>&lt;p&gt;Thank you Danny, much appreciated, it worked!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link label dynamic text display</title><link>https://community.appian.com/thread/84527?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 14:49:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27197656-3830-4de2-83e0-1cecfc83778c</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;The ticks I used were just for this chat, you should remove them&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link label dynamic text display</title><link>https://community.appian.com/thread/84526?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 14:43:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8e48c46-9a29-4f56-896d-a576821cac98</guid><dc:creator>Saeed</dc:creator><description>&lt;p&gt;Thank you for the reply Danny, I receive this error when I use the proposed solution [label: `"Download "&amp;amp; local!documentName`]&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;Expression evaluation error: Syntax error. Details: Expression evaluation error : Invalid character found in expression: ` (96)&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: link label dynamic text display</title><link>https://community.appian.com/thread/84525?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 14:39:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39d76c65-741c-4279-a6b1-b77ea274ee84</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;Yes, in the &amp;#39;label&amp;#39; field of the documentDownloadLink() you can do `&amp;quot;Download &amp;quot;&amp;amp;document(local!myDoc,&amp;quot;name&amp;quot;)`&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>