<?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>a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/discussions/f/user-interface/34633/a-documentviewerfield-not-rendering-pdf-type-files-when-clicked</link><description>Hi I am trying to display file preview for attached documents. We have provided a dynamic link when clicked ,we are calling a PM to fetch the document from Documentum and store it in Appian folder. However the PDF type file does not preview for some users</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133077?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:40:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cab02d39-e23f-48c8-bb23-64086a394229</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;To double check, add a Document Download Link on the same form pointing to the same PDF file, and for the users who can&amp;#39;t access it via the Preview field, see if they can still download it.&lt;/p&gt;
&lt;p&gt;Also, can you reproduce this behavior logged in as different users on the same machine?&amp;nbsp; If the problematic users are all at different locations, it could have to do with local firewalls blocking the special Appian URL used for hosting preview document material, which if i remember correctly, is something slightly different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133076?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:39:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05b9513e-061a-48a4-986a-34d114d56533</guid><dc:creator>Zeeshan Sheikh</dc:creator><description>&lt;p&gt;Yes we are getting valid document ID and the attachment is getting stored into Appian folder as well&amp;nbsp; temporarily.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133075?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:38:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96538252-2167-4f93-903f-5308600a5bda</guid><dc:creator>Zeeshan Sheikh</dc:creator><description>&lt;p&gt;Yes we did Check for the permission for the folder the user have required permission and the Document is also getting downloaded every time into Appian folder after clicking on the provided link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133074?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:25:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25e2ec89-8178-4bae-af2c-9428ca6bfa9e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Added to the previous suggestions - did you double check the security settings the file gets downloaded under (which is probably just the security for the folder it&amp;#39;s loaded into)?&amp;nbsp; If admin users have no issues while some other users are failing to see it, in my experience the first thing to check has always been whether or not those users even belong to the necessary groups to view the folder contents.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133068?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:39:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfc4aa3a-c805-4a4f-8068-bb3fecbd2049</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I assume that you return the document id from that process.&lt;/p&gt;
&lt;p&gt;Did you enable chaining?&lt;/p&gt;
&lt;p&gt;What is the runtime of this process?&lt;/p&gt;
&lt;p&gt;Do you see the returned valid document id in your local variable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133065?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:18:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5cfcd245-8f39-415f-9df9-9c5e9c6114d8</guid><dc:creator>Zeeshan Sheikh</dc:creator><description>&lt;p&gt;Thank you for the answer will look into the&amp;nbsp;&lt;span&gt;std-out.log file for more insight, please find my answer in red&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Dev team is trying to access the file on the same environment as the end users.-&lt;span style="color:#ff0000;"&gt; Yes tried it on client environment&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The document ID you are trying to pass to the viewer is a valid document ID - &lt;span style="color:#ff0000;"&gt;Yes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The PDF is a valid PDF and you have access to it, plus you are able to open it if you download.-&lt;span style="color:#ff0000;"&gt; Once downloaded the PDF is opening as expected&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133063?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:11:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af086234-3cd6-4440-9ceb-e696be2d6491</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;We only know this aftter reading the file. Could be some issue with the user&amp;#39;s context. Or something that Appian isn&amp;#39;t able to show on the front end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, here are some point you might want to confirm.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Dev team is trying to access the file on the same environment as the end users.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The document ID you are trying to pass to the viewer is a valid document ID&lt;/li&gt;
&lt;li&gt;The PDF is a valid PDF and you have access to it, plus you are able to open it if you download.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133062?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 11:06:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e43117c-ab90-4ec6-a773-30336f306ff7</guid><dc:creator>Zeeshan Sheikh</dc:creator><description>&lt;p&gt;How will that be helpful in this situation ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!documentviewerfield not rendering PDF type files when clicked.</title><link>https://community.appian.com/thread/133057?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 10:48:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0abfc51e-0d3d-48e7-8cd0-a789ba144f56</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;This looks like an unusual issue. Are you getting any error in the std-out.log file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>