<?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 CSV using button</title><link>https://community.appian.com/discussions/f/user-interface/29575/download-csv-using-button</link><description>i am getting data from external system which is being displayed on UI(example: 2342;34324;3441), i want to export this data by clicking on button in the form of CSV. 
 please suggest the right steps. 
 Thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117326?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 11:35:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92c8708e-07af-419b-9ff2-56b0c882b3ec</guid><dc:creator>PK1</dc:creator><description>&lt;p&gt;If there is a chance of high volume of data coming in future, I would suggest to use staging table for dumping and then use Export DSE to CSV smart service to generate the output file.&lt;br /&gt;&lt;br /&gt;You need to perform cleanup activity once export is completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117325?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 09:30:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78121ac2-d431-4148-a55b-14a10eddcdfe</guid><dc:creator>Harshitha Mangamuri</dc:creator><description>&lt;p&gt;Yes, we can not use the Export to CSV smart service. you have to try using&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.1/Text_Doc_From_Template_Smart_Service.html"&gt;https://docs.appian.com/suite/help/23.1/Text_Doc_From_Template_Smart_Service.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117324?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 09:16:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6f274e8-a94d-46be-8fa5-6e50aa92c1ab</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;Hi Harshitha - the data is not being stored in the database. the data is coming from external system.&lt;/p&gt;
&lt;p&gt;this is where,&amp;nbsp;i belive ExportToCSV will not the option in this scenario.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117323?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 09:14:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05703efe-2e14-4a9f-ae5f-742bf38946d8</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;Thanks Stefan for the inputs.&lt;/p&gt;
&lt;p&gt;i will try above suggested options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117322?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 09:06:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2a4e34b-ed24-44e5-9bda-736657888ce5</guid><dc:creator>Harshitha Mangamuri</dc:creator><description>&lt;p&gt;Hi, can you please tell me if the data from the external system is being stored in database?&lt;/p&gt;
&lt;p&gt;If it is being stored in the database you can use this smart service:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.2/Export_To_CSV_Smart_Service.html"&gt;https://docs.appian.com/suite/help/23.2/Export_To_CSV_Smart_Service.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117321?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 08:59:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6876098c-e6e8-417f-b771-01bb9a594efb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. This is still lacking the important level of detail. I recommend to visit these websites to see how to ask a question in a way that allows the community to answer in a efficient way.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://stackoverflow.com/help/how-to-ask"&gt;https://stackoverflow.com/help/how-to-ask&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/"&gt;https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I see two options. As I have no idea how much experience you have with Appian and other things, I will try to outline both.&lt;/p&gt;
&lt;p&gt;You can trigger a process in the background (a!startProcess) that fetches the data based on the search, and writes that into a text file based on a simple CSV file using the smart service &amp;quot;Text Doc From Template&amp;quot;. Then display a link to the user &amp;nbsp;to download that file. And no, there is no way to do this in one step only.&lt;/p&gt;
&lt;p&gt;Another option is, to create a GET web API that returns a CSV file. There is a template for this. Pass the search parameter to the API, fetch the data and create text output. The header configuration from the template makes the browser download the file. Use a safeLink component to create a link the user can click to get the data.&lt;/p&gt;
&lt;p&gt;Beware! Both options are only good for very small amounts of data and will NOT scale!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117319?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 08:20:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa878f8e-74ea-4b8f-a23c-ce001d8dea88</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;yes, i search in forum-&lt;/p&gt;
&lt;p&gt;i can see the smartservice called writedatastoretoentity, as per my requirement data is already populated from external service and the same data should be downloaded.&lt;/p&gt;
&lt;p&gt;- i am new to appian&lt;/p&gt;
&lt;p&gt;- searching with account that return few ids.&lt;/p&gt;
&lt;p&gt;- data is coming from external system.&lt;/p&gt;
&lt;p&gt;- 50+ rows of data for each account search.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117318?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 08:11:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65b69cba-152f-45c8-939d-287bfed2a0fd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Well, then ... I need you to answer a few questions.&lt;/p&gt;
&lt;p&gt;Did you search here in the forum and what did you find?&lt;/p&gt;
&lt;p&gt;What&amp;nbsp;experience do you have with Appian?&lt;/p&gt;
&lt;p&gt;What is the overall use case?&lt;/p&gt;
&lt;p&gt;Where is that data coming from?&lt;/p&gt;
&lt;p&gt;How much data is that and do you plan to do that export frequently?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117317?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 07:36:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:75678d43-ee21-4818-a72a-23b266405ebf</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;Hi Stefan - i search in the documentation but really dont find this scenario.&lt;/p&gt;
&lt;p&gt;please suggest the steps.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Download CSV using button</title><link>https://community.appian.com/thread/117316?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2023 07:33:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad4ab82e-3280-47af-a339-82f53c348638</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you already try to search in the documentation or here? This is a very common requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>