<?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>How to update by clicking link</title><link>https://community.appian.com/discussions/f/best-practices/30599/how-to-update-by-clicking-link</link><description>We have a requirement that when clicking a link, will start file download, at the meantime, we need to do some data update. 
 Can anyone advice how to achieve this?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121731?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 14:44:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b83faf1e-f1dd-4691-aff9-dc5ed9692a5e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Any potential solution for this (using reasonable OOB functionality) will require 2 clicks, as far as I can tell.&lt;/p&gt;
&lt;p&gt;In the simplest example I can think of, the user could be required to click an initial link/button to enable downloading (this would be able to execute arbitrary code to do DB updates / etc), then only after they&amp;#39;ve clicked that for a given file / group of files perhaps, the download link(s) become active.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121722?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 09:22:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a06f9b3-ea7d-433b-b584-a30cd73d50d8</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;If they only want to see if a document has been downloaded you could use the fn!getdownloadersfromgroup().&lt;/p&gt;
&lt;p&gt;If the file hasn&amp;#39;t been downloaded the result will be empty, otherwise it&amp;#39;ll return the list of users who have downloaded the file. Strongly recommend you provide the narrowest-scoped group to this function (rather than, say, &amp;#39;All Users&amp;#39; which is the whole list of Users in your environment).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121711?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 05:42:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:44575aec-723f-4677-9f2f-1721a472b40c</guid><dc:creator>liangl7510</dc:creator><description>&lt;p&gt;The business user want to see the status, to make it more which files have been downloaded in the list&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121683?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 11:28:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e26d117-7a5c-4fe9-9778-f289da6dd8c2</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Download action is already logged in the logs. Where are you intending using this information? Who needs to see it? When? Why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121682?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 11:23:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ffaaafb-ab68-423e-971d-2100cf634da4</guid><dc:creator>liangl7510</dc:creator><description>&lt;p&gt;we want to record user download action, change the status in DB accordingly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121681?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 10:16:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7caa05bc-d27c-42e0-b32a-485fd6b9bfb7</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;So not exactly as you describe. But you could run a process that sends the file to an email address and then does the data update.&lt;/p&gt;
&lt;p&gt;Why are the two requirements linked? What is it about the file download that is inextricably linked with the need to update some data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update by clicking link</title><link>https://community.appian.com/thread/121668?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 07:50:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:987fb5d7-1056-483f-8a65-f24d8fc8afb7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Appian does not directly support this &amp;quot;requirement&amp;quot;. I put the word in quotes because IMHO, the real requirement is the file download and data update, but not the link.&lt;/p&gt;
&lt;p&gt;The Appian UX design guide advices to use links for navigation and buttons for taking action.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>