<?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>Button  Download</title><link>https://community.appian.com/discussions/f/data/27084/button-download</link><description>Hi, 
 I want to implement a functionality, wherein I am displaying a button, and on click of that buttton, I am letting user to download a file containing data from the database. 
 
 I am using exportDataStoreEntityToCsv() smart service to achieve this</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106350?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 13:05:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:327460c0-8fbb-43b8-bfe9-66a0ed5a2fca</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;like harshit said, you can use a cardlayout.&lt;br /&gt;You can try to use it like a button. &lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/22.4/cards-as-buttons-pattern.html"&gt;https://docs.appian.com/suite/help/22.4/cards-as-buttons-pattern.html&lt;/a&gt;&lt;br /&gt;but instead of a dynamic link you can use a documentdownload link&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/22.4/Document_Link_Component.html"&gt;https://docs.appian.com/suite/help/22.4/Document_Link_Component.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106349?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 13:02:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c30e6df1-0071-47a2-a632-654f9c530cb7</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;this spam annoys so extremly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106345?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 12:05:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:154dd12a-82d0-457b-8662-d640cc2fb64e</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Ok&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106343?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 11:55:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21024a81-e336-420e-9a00-e0d183124011</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;And I told you. You CANNOT use a button to download the file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106341?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 11:15:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6bf1b30b-6e91-4ba8-a026-99b6ea569bb2</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106340?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 10:38:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d9d1144-0e2b-4e42-8e43-8eedef3908aa</guid><dc:creator>carolinet1176</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106339?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 09:49:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b4cdccf-0df2-4f50-9146-d70814eff194</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;My requirement is to use a button. If it were a link then there is a recipe available in the documentation.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106314?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 18:21:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1464cd5d-1794-43e9-8c9c-6f43b68504f2</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Also, to download the file, you will need a link and not a button. Links cannot be applied to a button. You will have to use a component that supports adding like (eg. richTextDisplayField() or cardLayout())&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button  Download</title><link>https://community.appian.com/thread/106313?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 18:20:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8c6e187-4f66-4050-a3a0-656991c967df</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;It will remain a two-step process as the first step is to run the smart service so it can generate the CSV file and another step to download the file.&amp;nbsp;&lt;br /&gt;If somehow, you are able to generate this file without user needing to click on a button (like as soon as the user lands on a screen) or by combining it with any other action, then you will be able to use that single click for downloading.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>