<?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>How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/discussions/f/user-interface/29271/how-to-show-a-pdf-file-uploaded-in-an-interface-to-my-summary-view</link><description>Hi! I have created an app in which the user enters some purchase order fields, and one of them is a PDF file, saving each file that is uploaded in a constant folder of documents. When I end the user task, the document is saved correctly in the folder</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115926?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 12:56:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f1cc313-9fc0-4887-bef4-2e1db309eadd</guid><dc:creator>carlosp5114</dc:creator><description>&lt;p&gt;I used the ri!record to the record type field with the ID (pedido PDF) and it works properly! Thanks a lot Stefan!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115918?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 11:50:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cc7a66d1-7e48-4d75-a398-26efb77ccacb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I have no idea why you mentions constants all the time .... aaah... it is the placeholder in the input field. Please ignore that.&lt;/p&gt;
&lt;p&gt;You store the ID of the document to a field in your record. Then you use that ID to pass it to the document viewer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115913?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 11:26:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d90c85a9-53c1-42e9-990b-29e2cc4b5e9a</guid><dc:creator>carlosp5114</dc:creator><description>&lt;p&gt;Thanks for your answers! I did exactly what you said, and now, when I upload a document, an ID is automatically generated in my record.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My question now is, how can I point the document ID in the document viewer component? I know that if I directly put an static document it works. I suppose I have to generate a constant with the list of document IDs, but I&amp;acute;m not sure how. And I cannot reference to records&lt;/p&gt;
&lt;p&gt;Thank you so much&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1688988283684v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115904?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 09:46:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74720d93-e3ab-4a9d-b320-665d1344948b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not understand what you mean with &amp;quot;&lt;span&gt;generate a different ID for each PDF&amp;quot;. Appian is doing this for you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you upload any file using the fileuploadfield and hit submit, Appian will store the physical file in the folder indicated by the target parameter. The file itself is then referenced by its ID that you can store in an integer field using the saveInto parameter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just check out the examples in the documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/File_Upload_Component.html"&gt;https://docs.appian.com/suite/help/23.2/File_Upload_Component.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115900?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 09:36:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3200a98f-435d-4899-a6a7-fd509b9d8eca</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Looks fine from a component perspective. But would help to see the whole form.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll need to call a!submitUploadedFiles() in thr saveInto of your submit button if this is not a startForm.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/File_Upload_Component.html#:~:text=Submitting%20files&amp;amp;text=In%20start%20forms%20and%20tasks,of%20a%20button%20or%20link"&gt;docs.appian.com/.../File_Upload_Component.html&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115874?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 19:50:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d2d8776-f5cd-47b4-a7c4-94b35d740455</guid><dc:creator>carlosp5114</dc:creator><description>&lt;p&gt;For sure, here you have it:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1688932111638v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have heard of the option you said, but how can I generate a different ID for each PDF and save it into my record field &amp;quot;pedidoPDF&amp;quot;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to show a PDF file uploaded in an interface to my summary view</title><link>https://community.appian.com/thread/115871?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 19:08:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10e18dfe-06a2-405a-b8e2-e1fab8100cd5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Can you share the code snippet of that fileUploadField?&lt;/p&gt;
&lt;p&gt;I typically store the ID of the uploaded file in a field of the record. Then I use that field to show the uploaded field in the record view.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>