<?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>readexcelsheet function</title><link>https://community.appian.com/discussions/f/plug-ins/13529/readexcelsheet-function</link><description>HI All, 
 
 Can someone tell me how to use readexcelsheet() function, i am trying to use this on button click in interface in a!save() , it is not working properly . 
 
 Thanks, 
 Bhargavi</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61553?ContentTypeID=1</link><pubDate>Sat, 13 Oct 2018 15:38:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af1c2e3c-c1ff-4d54-a208-3d801bf636c9</guid><dc:creator>bhargavip0001</dc:creator><description>HI Sachin,&lt;br /&gt;
This is how i am doing now but just wanted to check weather i can do in the interface itself without moving to process model,&lt;br /&gt;
thank you&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61507?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 11:47:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72f85943-c3b3-42df-bec3-9d45c482790c</guid><dc:creator>Sachin</dc:creator><description>Hi &lt;a href="/members/bhargavip0001"&gt;bhargavip0001&lt;/a&gt; ,&lt;br /&gt;
 I have tried it somehow it is not possible i think the smart service is not able to access the temporary document folder  where the document is stored the other way around is, let the user upload the file and let him click on submit button after submit extract the data from the excel sheet and perform the validation in process model if some validation error occurs then redirect to form again with error message.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61505?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 10:56:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d398e34e-b453-409a-9d06-63230b09f198</guid><dc:creator>bhargavip0001</dc:creator><description>Hi , can u tell me how to access that temporary file i couldn&amp;#39;t find something like that in the link which u provided&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61500?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 07:12:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f31f19c5-668b-46a4-aaab-dfe4ae9175a9</guid><dc:creator>santoshd378</dc:creator><description>I think this won&amp;#39;t work, still the form needs to be submitted( document needs to be saved in the directory)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61468?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 12:45:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:070900cf-8954-4d5a-8f6b-17d1ca9373f4</guid><dc:creator>Sachin</dc:creator><description>&lt;p&gt;Hi bhargavip0001 ,&lt;/p&gt;
&lt;p&gt;From 17.X version When a file is uploaded, the file component updates with a temporary Document representing the uploaded file. which has permanent document id and you can use that document id in the readexcelsheet for validation before form submission.&lt;/p&gt;
&lt;p&gt;For more details follow this &lt;a href="https://docs.appian.com/suite/help/17.2/File_Upload_Component.html"&gt;link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sachin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61462?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 12:14:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fec2ba4a-8e23-472c-aabb-6282c4353244</guid><dc:creator>santoshd378</dc:creator><description>You can also read the files uploaded by the user, but you need to submit the form, so that the file will be saved in the folder and do the rest of the things as said earlier.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61461?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 11:51:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65686803-09c9-4553-8a20-f43e8f296c0f</guid><dc:creator>bhargavip0001</dc:creator><description>Hi Sachin,&lt;br /&gt;
&lt;br /&gt;
thanq , but i was not knowing that i can read only documents which are saved in Appian&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61459?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 11:24:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6bd7466e-da86-4f56-8044-ad0771224f1a</guid><dc:creator>santoshd378</dc:creator><description>Hi Bhargavi, The file need to be saved in Appian Doc Folder for using that in the readExcelSheet function. So make the button submit and mimic the same form in a different user input task with activity chaining in between them.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61455?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 11:18:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f5dce66-97cc-4df4-8385-991fc091b0f8</guid><dc:creator>Shanmukha</dc:creator><description>Hi Bharghavi,&lt;br /&gt;
&lt;br /&gt;
I think it is only read the documents which is already uploaded to Appian document. If you see the code of that particular plugin it will take the document from the appian document folder. If you just upload the document and it is not yet persist in the appian document folder then you can&amp;#39;t read it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61451?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 11:02:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3420a2e6-ddde-436f-8e10-8da6bcafb47d</guid><dc:creator>bhargavip0001</dc:creator><description>Hi Raghavendra,&lt;br /&gt;
&lt;br /&gt;
That file will be uploaded by the user  and i need to read the data and need to don some validations to that data.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61450?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 10:57:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65152838-fadc-43fc-9b08-bd983c2cac10</guid><dc:creator>Sachin</dc:creator><description>&lt;p&gt;Hi bhargavii0001 ,&lt;/p&gt;
&lt;p&gt;I have tried extracting the values from excel using readexcelsheet and saved into rule input.&lt;/p&gt;
&lt;p&gt;Please find below code for reference&lt;/p&gt;
&lt;p&gt;here ri!sampleTest is AnyType ruleinput&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!save(
              ri!sampleTest,
              readexcelsheet(
                excelDocument: todocument(
                  3970
                ),
                sheetNumber: 0,
                startRow: 0
              )
            )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The output structure of readexcelsheet is like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
Success: boolean,
result: {
         Values: row1Values,
         values: row2Values
}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sachin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: readexcelsheet function</title><link>https://community.appian.com/thread/61449?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 10:40:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:264516b1-48fd-4d70-b17e-3bc92e1c5177</guid><dc:creator>Shanmukha</dc:creator><description>Hi Bharghavi,&lt;br /&gt;
&lt;br /&gt;
Could you please elaborate your scenario? Why you want to read the file in a!save(). does that file is already avilable in the document folder or is it just uploaded by user and not present in the appian document folder?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>