<?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>Disable Dynamic Link</title><link>https://community.appian.com/discussions/f/user-interface/21135/disable-dynamic-link</link><description>HI All, 
 I have implemented a Export to excel functionality, where clicking on Export to excel will kick off the process , and once the document is available the Download excel link will be made available, 
 the problem is, the user can click on export</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Disable Dynamic Link</title><link>https://community.appian.com/thread/84138?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 12:49:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b0a7057-47ac-48ec-a92b-1c0a596ecd16</guid><dc:creator>John Pang</dc:creator><description>&lt;p&gt;You could hide the&amp;nbsp;&lt;span&gt;Export to excel link once the user clicks it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have included an example with a button widget.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="typescript"&gt;a!localVariables(
  local!showWhen: true,
  a!buttonWidget(
    label: &amp;quot;Button&amp;quot;,
    style: &amp;quot;PRIMARY&amp;quot;,
    showWhen: local!showWhen,
    saveInto: a!save(
      local!showWhen,
      false
    )
  )
)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Dynamic Link</title><link>https://community.appian.com/thread/82371?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 15:29:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea9054ac-90b8-46e5-99b9-594c29499bc1</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In 21.2, if you can move this functionality to a button instead of a link, you can utilize the new &amp;quot;loadingIndicator&amp;quot;, parameter which will disable the button and show a little &amp;quot;loading&amp;quot; type icon while your process runs in the background (AFAIK the loading indicator will last until chaining breaks in the process, which should work well for generating the document and returning the generated doc ID back to your interface).&lt;/p&gt;
&lt;p&gt;In prior versions I usually have to rely on user training and/or intuition to not spam-click the generate link.&amp;nbsp; You could try doing an initial saveInto that disables the button/link right after the initial click, but I&amp;#39;m not sure it takes effect quickly enough to do what you&amp;#39;re wanting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Dynamic Link</title><link>https://community.appian.com/thread/82368?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 10:11:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28c98819-4430-44b5-82fa-5adc62c713d7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I implement this using a local state going from &amp;quot;Not started&amp;quot; -&amp;gt; &amp;quot;Waiting&amp;quot; -&amp;gt; &amp;quot;Completed&amp;quot;. Depending on state I display UI components (showWhen) which allow the user to &amp;quot;Start Export&amp;quot;, &amp;quot;Refresh&amp;quot; or &amp;quot;Download&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>