<?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>Hello,   I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/discussions/f/general/4415/hello-i-have-a-question-on-fileuploadfield-once-i-select-a-file-to-uplo</link><description>Hello, I have a question on fileUploadField: Once I select a file to upload, how can I access the name of the file being uploaded? I need to check if file with same name has already been uploaded earlier. An example would be appreciated. OriginalPostID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hello,&lt;br /&gt;  I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/thread/21034?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 11:54:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cac45b9-fd12-4442-836b-430acb066a35</guid><dc:creator>atulp</dc:creator><description>a!fileUploadField(target:ri!target,value:local!document).uploadedDocumentName)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;  I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/thread/16187?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 16:10:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:102eedfd-e55a-489d-b603-438daebd52bf</guid><dc:creator>rupeshc</dc:creator><description>You cannot check its name until the form is submitted as it only have a temporary document Id, till form submission. &lt;br /&gt;&lt;br /&gt;Once your form is submitted, redirect the process flow to your form again and then use the document function to calculate the uploaded document name. After then you can do the further manipulations, like matching it with all the other document name.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;  I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/thread/15891?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 19:50:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92eaa9ce-f74f-4bca-b598-601b4c017f49</guid><dc:creator>maheshp664</dc:creator><description>I believe you cannot access the properties of the temporary document...I tried the following....&lt;br /&gt;saveInto: { local!uploaddoc, a!save(local!fileName,document(local!uploaddoc,&amp;quot;name&amp;quot;))} &lt;br /&gt;and...got this error....&lt;br /&gt;&lt;br /&gt;Error evaluating function &amp;#39;document&amp;#39; : com.appiancorp.suiteapi.common.exceptions.InvalidDocumentException: Document Does Not Exist or has been Deleted&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;  I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/thread/15889?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 19:35:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:caa787f3-33d7-4e98-9136-786ade9044fa</guid><dc:creator>Jason Ruvinsky</dc:creator><description>Sathya, is this possible prior to submitting the form? We haven&amp;#39;t been able to access a document name while the document is in the &amp;quot;temporary&amp;quot; state prior to SAIL form submission.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;  I have a question on fileUploadField: Once I select a file to uplo</title><link>https://community.appian.com/thread/15879?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 00:53:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05d76f05-e227-49da-a489-b1722af38555</guid><dc:creator>Sathya Srinivasan</dc:creator><description>Content service plug-in has a function called getDocumentByName.  An option is to check if the file exists or not before uploading the new file.  &lt;br /&gt; Note: Appian does not restrict files by file name.  So you can have multiple files with the same file name within a folder.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>