<?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 generate and view pdf on single click</title><link>https://community.appian.com/discussions/f/new-to-appian/30574/how-to-generate-and-view-pdf-on-single-click</link><description>I have a requirement to generate and view PDF on single click , how can i do ? 
 now i am generating then viewing pdf using start process, is there any way to do in one click 
 
 thanks,</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to generate and view pdf on single click</title><link>https://community.appian.com/thread/121511?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 13:02:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06774c74-3ff7-4216-a1f2-1f9c511c3090</guid><dc:creator>mounikay348530</dc:creator><description>&lt;p&gt;a!gridColumn(&lt;br /&gt; label: &amp;quot;Doc View&amp;quot;,&lt;br /&gt; value: a!recordActionField(&lt;br /&gt; &lt;strong&gt;actions: {&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; a!recordActionItem(&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; action: &amp;#39;recordType!{recordTypeName.action.viewDocument&amp;#39;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; identifier: fv!identifier&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; )&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; },&lt;/strong&gt;&lt;br /&gt; style: &amp;quot;LINKS&amp;quot;,&lt;br /&gt; display: &amp;quot;ICON&amp;quot;,&lt;br /&gt; openActionsIn: &amp;quot;DIALOG&amp;quot;,&lt;br /&gt; align: &amp;quot;CENTER&amp;quot;&lt;br /&gt; ),&lt;br /&gt; align: &amp;quot;CENTER&amp;quot;,&lt;br /&gt; width: &amp;quot;1X&amp;quot;&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1699534828863v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Hi, Try to create an action in record and call it , as mentioned above.When you click that icon you can open your doc with one click&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; a!sectionLayout(&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; label: document(ri!document, &amp;quot;name&amp;quot;),&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; labelSize: &amp;quot;MEDIUM_PLUS&amp;quot;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; contents: {&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; a!documentViewerField(document: ri!document)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; },&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; divider: &amp;quot;ABOVE&amp;quot;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; showWhen: a!isNotNullOrEmpty(ri!document)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; )&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/*In record action attach a process model -&amp;gt; in that PM give only one UI -&amp;gt; and that UI contains above bold code(pass doc Id as ruleinput to UI) */&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to generate and view pdf on single click</title><link>https://community.appian.com/thread/121507?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 12:26:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f3b621f-a26d-46ae-a9ef-ac44d5a5d855</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When you enable process chaining up to the node that creates the PDF, you can fetch the ID of the generated document from your UI. Feed that&amp;nbsp;into a document viewer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to generate and view pdf on single click</title><link>https://community.appian.com/thread/121506?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 11:12:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3629673e-7900-4f34-9008-40c303a429a2</guid><dc:creator>vikashk7323</dc:creator><description>&lt;p&gt;Try to use Record Action for it. The process would generate the PDF and show the pdf as well. Enable the activity chaining as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>