<?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>When updating an interface, I want to see the previous uploaded documents on &amp;quot;Create&amp;quot;</title><link>https://community.appian.com/discussions/f/data/25701/when-updating-an-interface-i-want-to-see-the-previous-uploaded-documents-on-create</link><description>I Have a Form in wich I upload documents. It works well. When using Update action, I need to see what documents have been uploaded, keeping the possibility to add more documents. How to?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: When updating an interface, I want to see the previous uploaded documents on "Create"</title><link>https://community.appian.com/thread/100565?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 14:16:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3f4b367-b051-4940-af34-b997f4ca91df</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The default method (as you can already see here) is to show a File Upload Field and pass in the previously-uploaded document&amp;#39;s ID (and preferably make the field read-only).&lt;/p&gt;
&lt;p&gt;I recommend &lt;em&gt;&lt;strong&gt;against&lt;/strong&gt;&lt;/em&gt; this method because the results are clunky and, IMHO, kinda amateurish.&amp;nbsp; The file upload field populates with the document&amp;#39;s name but not much other useful information (other than perhaps the file size).&amp;nbsp; The user isn&amp;#39;t able to preview or even download the existing document though, so they&amp;#39;re stuck just seeing the filename and not much more.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1662473750656v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Instead I&amp;#39;d recommend setting up a Rich Text display field to show the document and, depending on what you want to accomplish, allow various other options.&amp;nbsp; The most common thing to do here is to show the document&amp;#39;s name and turn it into a link tied to a &lt;em&gt;Document Download Link&lt;/em&gt;, which upon clicking, allows the user to download the document.&amp;nbsp; Alternatively, depending on the file type, the user could be allowed to open the document in an &lt;em&gt;a!imageField()&lt;/em&gt; (for picture type documents) or an &lt;em&gt;a!documentViewerField()&lt;/em&gt; (for PDF files and Text files).&amp;nbsp; I usually make a separate link, tied to an icon (like a magnifying glass), that saves the affected Document ID into a local variable when clicked, and have the Preview field configured to open when the Document ID is non-null.&lt;/p&gt;
&lt;p&gt;With some trial and error, you can pretty easily set up something fairly functional and nice-looking, like this example:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1662473642061v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When updating an interface, I want to see the previous uploaded documents on "Create"</title><link>https://community.appian.com/thread/100519?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 17:04:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b1b0565-0c1f-4a94-bcab-8a2ef7d644a4</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;For adding more documents, you can use file Upload&amp;nbsp;components and to show what document has been uploaded you can store the document id into the database and while showing fetch the id from DB and show the document name for the document id into the front end. you can use the download document link as well if you want to download it as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When updating an interface, I want to see the previous uploaded documents on "Create"</title><link>https://community.appian.com/thread/100516?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 16:50:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d850797-dd7d-443b-9180-cdac3cbae4d5</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Query the Appian Document ID and pass it to the file upload field.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.2/File_Upload_Component.html"&gt;https://docs.appian.com/suite/help/22.2/File_Upload_Component.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>