<?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>submitUploadedFiles Function usuage</title><link>https://community.appian.com/discussions/f/user-interface/29479/submituploadedfiles-function-usuage</link><description>Hello there, 
 I have a Upload field where user uploads 50 rows of 2 columns data from/csv onto form. 
 I have to read all those and display the data in editable grid before submission. 
 To achieve this i have used submitUploadedFiles function with empty</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/117443?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 09:34:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd027d16-a70a-4724-afa9-fe5876b2286e</guid><dc:creator>HeatherKorth</dc:creator><description>&lt;p&gt;Any update? Without seeing the specific code snippet you&amp;#39;ve provided, it&amp;#39;s difficult to pinpoint the exact issue.I investigated online for capstone writing services since I needed to complete an essay assignment. Find reviews of essays at &lt;a href="https://www.grabmyessay.com/capstone-project-writing-service"&gt;https://www.grabmyessay.com/capstone-project-writing-service&lt;/a&gt; site. I came across this webpage. where I may browse through numerous websites that assist me in writing essays, read reviews of them, and choose the finest one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116919?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:45:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:188a407b-3352-4009-8343-8a2bf7449aee</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;sure thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116918?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:44:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e7c2533-7e91-4a89-80b9-30fb93a17dd7</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Sorry, you guys may have been right - i&amp;#39;ll need to look further into that.&amp;nbsp; Provided the caveat in the documentation is correct, then you&amp;#39;ll likely need to stick with your approach wherein you have the user submit from the form and loop back immediately to the form again, after clicking the &amp;quot;Read File&amp;quot; button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116917?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:39:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd80e936-53d3-4a07-b468-cd90a5f66a4e</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;If this is supported&amp;nbsp; in anyway definitely saves lot of our development time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116916?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:36:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12998469-2fa2-466a-8ed2-60654d20ab47</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;I created an interface and added to site directly which is not a start form or task form then it worked, however if it is inside a start form or task form then failing.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690490232045v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116915?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:30:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f3c2d13-2172-4abd-8b9e-31396975dc19</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="65575" url="~/discussions/f/user-interface/29479/submituploadedfiles-function-usuage/116913#116913"]As it is not supported in task and start form[/quote]
&lt;p&gt;edit: Apologies, I may have been mistaken about this.&amp;nbsp; I will need to investigate further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116914?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:20:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4deece0e-6b5a-4ae2-a71d-fddf684004d8</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;Yup thats my finding as well&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116913?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:19:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0415e47-185f-446f-85e2-928cba3b0871</guid><dc:creator>Capt_Barbosa</dc:creator><description>&lt;p&gt;As per documentation, i think since you are using inside a task, a!submitUploadfiles() wont work. As it is not supported in task and start form&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116912?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:11:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6aeefb96-f524-4f28-ae36-bba85395d3be</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;On 23.2&amp;nbsp;i tried an example from documentation which is throwing the error from my initial screenshot/post.&lt;/p&gt;
&lt;p&gt;It does not work with or without a&amp;nbsp;process.&lt;/p&gt;
&lt;p&gt;Getting Unsupported in this environment on SITE&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690488630932v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116910?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:05:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bffec216-f103-4f1b-ae3d-b97567b9ca88</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It&amp;#39;s supported in this context as of Appian 23.2 - what version are you on?&lt;/p&gt;
[quote userid="31463" url="~/discussions/f/user-interface/29479/submituploadedfiles-function-usuage/116909#116909"] as submituploadedfiles() do not support.[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116909?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 20:04:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f877ad94-688e-4d1b-b264-8ecc74a06235</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;Is there any work around to display the uploaded csv document on Interface into editable grid without submitting the form?&lt;/p&gt;
&lt;p&gt;Right now user upload document and click submit, looping back to the same interface&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690488006302v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690488064267v2.png" alt=" " /&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Want to know if there is better approach as submituploadedfiles() do not support.&lt;/p&gt;
&lt;p&gt;Another thought is Save it in temporary folder(which also requires a process) and move to permanent after actual form submit. Either of these need to be submitted once on upload submit and twice on final submit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116906?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 19:53:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db3f30cc-44cb-4096-a295-a8d548a82aa0</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;Initial thought was to see if this function works in first place and move things into process eventually.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116905?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 19:48:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca486a4b-b469-4c51-b8da-8fa04da06ccd</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="31463" url="~/discussions/f/user-interface/29479/submituploadedfiles-function-usuage"]i have used&amp;nbsp;submitUploadedFiles function with empty process model to start on its button click[/quote]
&lt;p&gt;Why would you do this?&amp;nbsp; If you&amp;#39;re not doing anything with the process model, don&amp;#39;t use a!startProcess().&amp;nbsp; It&amp;#39;s not needed for a!submitUploadedFiles() either way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116898?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 17:24:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ef2946a-cfd4-426b-824c-30bd91bcd489</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;I am able to find the issue, just realized our main interface is running on start form where this function clearly not supportive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116896?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 17:04:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83e23e85-af72-4d24-a77c-56c74939f0a8</guid><dc:creator>Malleswari T</dc:creator><description>&lt;p&gt;Thanks for responding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried using this function in the beginning of saveinto as well, however the problem is still same when we call it from Site front-end.&lt;/p&gt;
&lt;p&gt;Surprisingly it is working on a dummy site with dummy interface but failing on our actual Site.&lt;/p&gt;
&lt;p&gt;Works here on dummy as below:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;= a!localVariables(
  local!document,
  local!submissionSuccessful,
  local!parsedFileData,
  local!items,
  local!button,
  local!fileTickers,
  
  {
    a!fileUploadField(
      target: cons!SRT_FOLDER_UPLOAD_CSV,
      maxSelections: 1,
      value: local!document,
      saveInto: { local!document  }
    ),
    a!buttonArrayLayout(
      buttons: a!buttonWidget(
        label: &amp;quot;Save&amp;quot;,
        submit: false(),
        value: true(),
        saveInto: {
          local!button,
          a!submitUploadedFiles(
            onSuccess: {
              a!save(local!submissionSuccessful, true),
              if(
                local!submissionSuccessful,
                a!startProcess(
                  processModel: cons!SRT_PM_UPLOAD_FILE,
                  processParameters: {},
                  onSuccess: {
                    a!save(
                      local!parsedFileData,
                      index(
                        readexcelsheetpaging(
                          local!document,
                          0,
                          a!pagingInfo(1, cons!SRT_INT_FILE_IMPORT_ROW_MAX),
                          2,
                          null,
                          true
                        ),
                        &amp;quot;data&amp;quot;,
                        &amp;quot;values&amp;quot;,
                        {}
                      )
                    ),
                    a!save(
                      local!fileTickers,
                      if(
                        rule!APN_isBlank(local!parsedFileData),
                        {},
                        a!forEach(
                          items: local!parsedFileData,
                          expression: a!map(
                            ticker: if(fv!isFirst, null, fv!item[1]),
                            allocation: if(fv!isFirst, null, fv!item[2])
                          ),
                          
                        )
                      )
                    )
                  }
                ),
                {}
              )
            }
          )
        }
      )
    ),
    a!gridLayout(
      headerCells: {
        a!gridLayoutHeaderCell(label: &amp;quot;Ticker&amp;quot;),
        a!gridLayoutHeaderCell(label: &amp;quot;Allocation&amp;quot;),
        
      },
      rows: a!forEach(
        local!fileTickers,
        a!gridRowLayout(
          contents: {
            a!textField(value: fv!item.ticker),
            a!floatingPointField(value: fv!item.allocation)
          }
        )
      )
    )
  }
)&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690477246992v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but same code called inside the main interface is failing with same error&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1690477382679v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This totally is weird.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: submitUploadedFiles Function usuage</title><link>https://community.appian.com/thread/116840?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 02:32:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e65facdd-d215-45e9-80a3-cbb4a3840c79</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Don&amp;#39;t think you can put the submitUploadedFiles in the onSuccess of the StartProcess. It needs to be at the root of the saveInto.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>