<?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>Convert DOCX to PDF and show in document view on the fly</title><link>https://community.appian.com/discussions/f/new-to-appian/21509/convert-docx-to-pdf-and-show-in-document-view-on-the-fly</link><description>Hi, 
 I have a requirement to read uploaded DOCX file from appian uploads folder convert it to PDF and show in document viewer on richtext icon click on the fly. I have been able to convert DOCX file to PDF but not able to show it in document viewer.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Convert DOCX to PDF and show in document view on the fly</title><link>https://community.appian.com/thread/84047?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 15:03:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a1a210b-4d1f-40ed-a3cd-39f1782bb0db</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the error you are getting? if you are able&lt;span&gt;&amp;nbsp;convert DOCX file to PDF, you can just pass the converted PDF document to documentViewerField it should work.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!documentViewerField(
  document: ri!document,
  showWhen: ri!visibility
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>