<?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>Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/discussions/f/general/29816/download-excel-csv-document-from-a-grid-on-a-single-click</link><description>My requirement is as below: 
 I have a set of Ids, and using an integration I am getting all details of the records of those Ids. After certain manipulation of the dataset, i am displaying the dataset on a grid. 
 Now I want to download the same grid</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/124633?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 07:28:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0ac9ce48-5c5d-4f8c-812e-8f0bcc34a1fb</guid><dc:creator>Preji P</dc:creator><description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I have somewhat similar requirement and would need your help and expertise to find a solution.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So we have an external database (Mongo DB) from where we are fetching our data ( from multiple tables/collections) using integration and display this data on Appian UI after doing some alteration on few fields.&lt;/p&gt;
&lt;p&gt;And in my grid am displaying around 35 columns and row many go upto 100 in certain cases.&lt;/p&gt;
&lt;p&gt;Now the users what a download option, as we dont save data in appian export to CSV/excle from DSE isn&amp;#39;t an option for us.&lt;/p&gt;
&lt;p&gt;So how can I download this large data in Appian.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks In advance,&lt;/p&gt;
&lt;p&gt;Preji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118610?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 10:48:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2400519-a0ae-4064-95b8-c874ef2f70f8</guid><dc:creator>ankitab535847</dc:creator><description>&lt;p&gt;So I took all of your suggestions, and here&amp;#39;s what I did:&lt;/p&gt;
&lt;p&gt;1) Created a post WebApi in Appian to download document (So that I can pass the Ids in body)&lt;/p&gt;
&lt;p&gt;2) Created an integration to call the API&lt;/p&gt;
&lt;p&gt;3) Created a process model to call the integration and save the document Id in a process variable&lt;/p&gt;
&lt;p&gt;4) Used&amp;nbsp;a!startProcess synchronously in the interface to call the process and saved the document id in local variable. This action was done using a button&lt;/p&gt;
&lt;p&gt;5) Used the document id in a document download link. Finally able to download with two clicks&lt;/p&gt;
&lt;p&gt;After all this, I am still failing to generate the document using web api when the number of Ids go beyond a certain value. This is mainly because the webapi itself is calling another integration which is timing out because of large data.&lt;/p&gt;
&lt;p&gt;Another approach that I&amp;nbsp;was to pass the cdt (which contains all the details) into the body of the web api in json format. In that case, the web api doesn&amp;#39;t need to call another integration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This approach seemed to be working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118456?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 16:39:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d065c650-b7df-4bba-b07d-0b13355f663d</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;Are you using third party webapi?&amp;nbsp;You need to ask webapi developer&amp;nbsp;to change the api code to start including the large set of ids into request body instead as a query parameter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118455?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 16:37:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fb947ba8-e2ac-482e-8601-863e0b3fb1ad</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Normal HTML Links do not support a HTTP body.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118452?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 16:30:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e645ae0-9654-4956-9baf-74875ab30472</guid><dc:creator>ankitab535847</dc:creator><description>&lt;p&gt;So I am using the web api url in the link field of an interface. At the end of the url i am passing the case Ids which is becoming the query parameters. If I have to pass them in the request body, can you suggest how do i pass the case Ids using the url. It would be very helpful if you can send a sample code&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118446?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 15:42:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96d7ee5a-7638-4a93-a967-1a87bc8a58bd</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;&lt;em&gt;&amp;gt;&amp;gt;2) The Ids I am passing as query parameters. When there are more than 1000 ids, the url is becoming too long and the API is failing.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In that case, pass the Ids in the request body.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118310?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 07:48:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b43534c5-3060-46f9-9dc3-da1574adc620</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yeah, well ... I would challenge this &amp;quot;requirements&amp;quot;. And&amp;nbsp;&lt;span&gt;I still do not see a way to achieve this in a single user interaction.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118309?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 07:42:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca97cf5f-4d46-4fea-823b-c12fc650a3c1</guid><dc:creator>ankitab535847</dc:creator><description>&lt;p&gt;I need a suggestion on how to generate the document. Having data in the database is not an option. We don&amp;#39;t save the data in Appian. The only way to retrieve the data is using an integration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118305?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 07:20:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bba5f4c5-211d-456d-a5cd-295214f2e402</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;For what? The data manipulation? Currently the best option in terms of speed and resource consumption is a table in the database. Then the API CSV download approach would work as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118303?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 06:57:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b32815b-e921-45ee-9d60-fbb123bb144d</guid><dc:creator>ankitab535847</dc:creator><description>&lt;p&gt;Can you suggest any other option&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download excel/csv document from a grid on a single click</title><link>https://community.appian.com/thread/118300?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2023 06:54:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2750e551-1da5-428f-9447-0842961a25ee</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Doing all this data manipulation in memory seems not to be a great idea. But regardless of this, I do not see a way to achieve this in a single user interaction.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>