<?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>file upload</title><link>https://community.appian.com/discussions/f/user-interface/30543/file-upload</link><description>how we can fetch the document extension name and document type in when we upload something on UI</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: file upload</title><link>https://community.appian.com/thread/121573?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 08:13:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c453e1f-d3d5-498c-966f-1812153d1c8b</guid><dc:creator>Rahul Shrivastava</dc:creator><description>&lt;p&gt;Can you please elaborate what is you requirement!!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: file upload</title><link>https://community.appian.com/thread/121513?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 13:27:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b73c2004-cbdc-4c2f-bf8e-8fd44c4ea070</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="104543" url="~/discussions/f/user-interface/30543/file-upload/121370"]we can use document() function [/quote]
&lt;p&gt;document() is unable to access a newly-uploaded file at all - in fact it will crash and show the user an error.&amp;nbsp; This is why I shared the work-around approach I detailed &lt;a href="/discussions/f/user-interface/30543/file-upload/121364"&gt;above&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: file upload</title><link>https://community.appian.com/thread/121370?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 05:29:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c7caee4-a0ad-4946-930d-711fc723f4db</guid><dc:creator>taruns7606</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/deeptis0004"&gt;deeptis0004&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Whatever I could understand from your question,&amp;nbsp; we can use document() function to fetch the extension, type or properties of uploaded document. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: file upload</title><link>https://community.appian.com/thread/121364?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 18:26:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26fed9d2-d3db-4e13-835f-ec138bf2df7a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Sounds like you should go to my &lt;a href="/discussions/f/general/17496/feature-request-a-fileuploadfield-should-allow-access-to-file-properties-fv-files-within-its-saveinto-parameter"&gt;old long-standing Feature Request&lt;/a&gt; and click &amp;quot;like&amp;quot; on it, and add a comment in support to amplify it and float it back to the top of Community for greater visibility.&amp;nbsp; As far as I know, this is in Appian&amp;#39;s &amp;quot;product enhancement backlog swamp&amp;quot; along with tons of other useful quality-of-life tweaks, to my chagrin.&lt;/p&gt;
&lt;p&gt;I will let you in on the lesser-known fact, though, that the &amp;quot;get content object details by ID&amp;quot; function from the Content Details plug-in, CAN be fed a Doc ID and WILL return a text string containing the (full, un-parsed) filename, even for &amp;quot;newly uploaded but not yet submitted&amp;quot; documents.&amp;nbsp; With a bit of work, this is a &lt;em&gt;&lt;strong&gt;supported workaround&lt;/strong&gt;&lt;/em&gt; that can help with your use case, though you must do it carefully and anyone who attempts this should first have a &lt;em&gt;thorough understanding of how Expression Rules work&lt;/em&gt; in general.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: file upload</title><link>https://community.appian.com/thread/121362?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 17:57:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54f6b010-2153-4052-a5e4-c7419c86fb2e</guid><dc:creator>jordanDon</dc:creator><description>&lt;p&gt;Unfortunately not possible - see full documentation here:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/23.3/File_Upload_Component.html#uploaded-files-are-stored-as-temporary-documents-until-submission"&gt;https://docs.appian.com/suite/help/23.3/File_Upload_Component.html#uploaded-files-are-stored-as-temporary-documents-until-submission&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;When a file is uploaded, the component updates with a temporary document representing the uploaded file. Between the upload and the submission, the file on the server is an inactive temporary file and not accessible except through&amp;nbsp;&lt;/span&gt;&lt;code class="language-plaintext highlighter-rouge"&gt;fv!&lt;/code&gt;&lt;span&gt;&amp;nbsp;variables described in the&amp;nbsp;&lt;/span&gt;&lt;em&gt;File Name&lt;/em&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;em&gt;File Description&lt;/em&gt;&lt;span&gt;, and&amp;nbsp;&lt;/span&gt;&lt;em&gt;Validations&lt;/em&gt;&lt;span&gt;&amp;nbsp;parameters. This is the only way to access file metadata before the file upload is submitted.&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: file upload</title><link>https://community.appian.com/thread/121357?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 13:39:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6096290c-d273-4966-b749-d9b545ff53c2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not. You do that in the process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>