<?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>Document Viewer</title><link>https://community.appian.com/discussions/f/new-to-appian/34636/document-viewer</link><description>Hi, I am new to Appian and working on a Prototype for a client. I have a use case to upload a set of files to a folder that is created for each new client and then view these uploaded documents in document viewer for review. Can someone provide some help</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133185?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 12:40:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ddecfa2-d97c-4c52-8ea6-b202e9ecc5dc</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="274702" url="~/discussions/f/new-to-appian/34636/document-viewer/133138"]I suggest to just upload the files in a process start form. Then, in process, create that new folder and move the document into it.[/quote]
&lt;p&gt;To tag onto that, this approach (while solid) requires something else that might catch some newer folks off-guard.&amp;nbsp; The file upload field still requires a folder target (else throwing an error).&amp;nbsp; Some people might be tempted to use the &amp;quot;Temporary Documents&amp;quot; folder in the Default KC, but I &lt;em&gt;&lt;strong&gt;strongly recommend&lt;/strong&gt; &lt;/em&gt;to create a &amp;quot;temp files&amp;quot; folder in your own organizational folder structure instead of using the default one.&lt;/p&gt;
&lt;p&gt;The main issue there is that the default one still has an &amp;quot;Expiration&amp;quot; time set, and files uploaded into a folder / knowledge center with an Expiration time will keep that expiration time even after they&amp;#39;re moved to a completely different target location - and there is not any easy way to tell until they suddenly disappear after 6 months or whatever the timer is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133145?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 06:56:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85a3297a-2c6f-4155-93a9-a72e02ef3d5b</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;When the client is being created,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;create a folder and save the ID of the folder, tagged with the client ID, in the table.&lt;/li&gt;
&lt;li&gt;Now use a a!fileUploadField and in the target, pass the correct folder ID.&lt;/li&gt;
&lt;li&gt;Add the interface in a process model as a task and when you submit the interface, your document will be uploaded.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As&amp;nbsp;David mentioned, you can use the documentViewerField to show the PDF documents on dashboards.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133138?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 05:48:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f25240c2-b61a-46f5-a25a-67f538fd1728</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Appian does not work this way. It is not made to just do everything inside code snippets in the UI.&lt;/p&gt;
&lt;p&gt;I suggest to just upload the files in a process start form. Then, in process, create that new folder and move the document into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133125?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 03:13:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:665f3161-480c-4d80-9373-6e203be017fd</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/swapnae0002"&gt;swapnae0002&lt;/a&gt;&amp;nbsp; could try this with smart service from process model&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133121?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 01:22:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba150353-4489-4d7f-9c36-bf636edf9cee</guid><dc:creator>swapnae0002</dc:creator><description>&lt;p&gt;Thank You for your response. I check this out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a problem to solve before I get here. I have an interface for user to upload files. I want to store these files in new folders with their unique uploadID. So i use the following code in SaveInto:&lt;/p&gt;
&lt;p&gt;a!createFolder(&lt;br /&gt; name: ri!DR_Filings['recordType!{7e936f34-1fd3-4278-8e04-aa1289d866dd}DR Filings.fields.{b10b56fd-3534-4386-a523-e76a45f88f15}companyName'],&lt;br /&gt; parentFolder: cons!DR_UPLOADED_FILES_PARENT,&lt;br /&gt; onSuccess: a!save(target: local!newFolder, value: fv!folder)&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;but the local variable is not getting populated with the new folder name, which i want to use in my file upload function:&lt;/p&gt;
&lt;p&gt;a!fileUploadField(&lt;br /&gt; label: &amp;quot;Upload Type3 Document&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt;target: local!newFolder,&lt;br /&gt; value: ri!DR_Filings['recordType!{7e936f34-1fd3-4278-8e04-aa1289d866dd}DR Filings.fields.{ba570aec-da87-4369-939e-5387d9a3bea4}docId3'],&lt;br /&gt; saveInto: {&lt;br /&gt; ri!DR_Filings['recordType!{7e936f34-1fd3-4278-8e04-aa1289d866dd}DR Filings.fields.{ba570aec-da87-4369-939e-5387d9a3bea4}docId3']&lt;br /&gt; },&lt;/p&gt;
&lt;p&gt;Can you help me figure out where I am going wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133100?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 17:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9662f99-7eb5-4189-b798-9de0f1bd02de</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I hope this section in the documentation helps to limit any confusion:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.1/fnc_system_a_submituploadedfiles.html#usage-considerations"&gt;https://docs.appian.com/suite/help/24.1/fnc_system_a_submituploadedfiles.html#usage-considerations&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133098?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 17:47:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84f34bb4-c8bc-438f-91ed-5c50db633df0</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="274702" url="~/discussions/f/new-to-appian/34636/document-viewer/133095"]&lt;strong&gt;ONLY&lt;/strong&gt; to be used in Appian portals[/quote]
&lt;p&gt;(and sites, as of the past ~2 versions)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133096?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 17:42:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a172f60-9b86-45b7-b3da-7964288f5fac</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Yes, but you can use it also in interfaces on a site for example, if no process is started...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133095?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 17:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:abdd54c7-a9ad-4f1e-973a-abe90c06dae1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;But keep in mind that the function&amp;nbsp;&lt;span&gt;submitUploadedFiles() is &lt;strong&gt;ONLY&lt;/strong&gt; to be used in Appian portals. Process start forms and user input task forms will automatically upload files once submitted.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document Viewer</title><link>https://community.appian.com/thread/133094?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 17:33:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40e110b1-aa08-4710-9269-00848429edc3</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Hi, check this link&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/24.1/Document_Viewer_Component.html"&gt;https://docs.appian.com/suite/help/24.1/Document_Viewer_Component.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And remember that when you upload files into Appian with fileUpload Component, the document won&amp;#39;t be available until you call submitUploadedFiles() ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>