<?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>Single click document generation and download</title><link>https://community.appian.com/discussions/f/user-interface/21610/single-click-document-generation-and-download</link><description>Hi Experts, 
 
 Is there any way to generate and download an Excel file in a single click. 
 
 Thanks, 
 Gaurav Singh</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/133650?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 14:22:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c727b78-be0f-42bd-91cd-8b45fa777ae6</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="252316" url="~/discussions/f/user-interface/21610/single-click-document-generation-and-download/133551"] I need to create and download the file in single click. [/quote]
&lt;p&gt;Is it really a &amp;quot;need&amp;quot;, or a &amp;quot;want&amp;quot;?&lt;/p&gt;
&lt;p&gt;the functionality is the same as it was almost 3 years ago when i wrote my original reply, so my same answer still applies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/133551?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 13:45:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d53fa53-b9ec-4203-bb7b-624095d8f9a3</guid><dc:creator>Vaithyanathan Raju</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp; - I do have the similar request in my app. I need to create and download the file in single click. Is there any Appian feature or OOTB plugin available for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84536?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 15:57:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b652301c-a935-496b-8eae-8b493093830a</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Ah okay if you&amp;#39;re using a stored procedure that won&amp;#39;t work - does it have to go through a stored procedure or could you use a more standard query?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84535?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 15:52:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b0a3192-818f-4ff9-b36e-8801aef544f6</guid><dc:creator>Saeed</dc:creator><description>&lt;p&gt;whats the problem with using GET and POST methods?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84532?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 15:44:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d73841e-1eaa-4ac6-a0bc-15570aeaa217</guid><dc:creator>GauravSingh</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response, data is coming through to parametrized Stored Procedure which is getting executed based on filter selected by user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84530?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 15:25:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7629b403-02ab-46e0-9929-18815a7b6c84</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;You can use a Web API to generate a CSV file and it can use a GET instead of a POST. Just create a Web API, use the CSV template, and make sure you separate all your fields with a common (it&amp;#39;s usually easiest to use the joinarray() function to do that).&lt;/p&gt;
&lt;p&gt;Then, call your Web API in a safelink and you should be good to go.&lt;/p&gt;
&lt;p&gt;The other thing to consider if you truly need it to be one click is to pre-generate your document. If the data doesn&amp;#39;t change that frequently or if you&amp;#39;re okay with it not being completely current, you could run a process that runs on a schedule and generates the document for you. Then, in your UI just reference the document in a document download link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84522?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 10:58:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c58ea45-f260-453b-8d42-43ab3ded0561</guid><dc:creator>GauravSingh</dc:creator><description>&lt;p&gt;HI Mike,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As of now i have implemented the same, but somewhere I have read of using WebApi&amp;#39;s to generate and download the document.&lt;/p&gt;
&lt;p&gt;Problem with Web Api is for executing Smart services it must execute a POST method and i need to use the&amp;nbsp;GET method to get the document generated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gaurav Singh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single click document generation and download</title><link>https://community.appian.com/thread/84497?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 20:40:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3addad23-5b3a-491c-8f15-ed295a306eb6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;All supported methods I know of at this point will require 2 clicks - one to initialize the document generation and (automatically) display a link, then a second click by the user to actually download.&amp;nbsp; There was an older plug-in that would create an excel from a datasubset and instantly try to download, but it was really finnicky and as far as I&amp;#39;ve heard, it no longer works in modern versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>