<?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>Preview PDF files with documentViewerField and problem with spacing between other components</title><link>https://community.appian.com/discussions/f/user-interface/34478/preview-pdf-files-with-documentviewerfield-and-problem-with-spacing-between-other-components</link><description>Good afternoon. 
 We have a requirement to preview a PDF file. 
 For that, we are using the documentViewerField component (green circle). Both the documentViewerField component and the other components displayed in the image are inside a cardLayout. However</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Preview PDF files with documentViewerField and problem with spacing between other components</title><link>https://community.appian.com/thread/131890?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 15:16:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb937173-dea3-40d4-9363-d54355ccabc5</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The answer unfortunately is that you won&amp;#39;t find there&amp;#39;s a lot of control over how the document viewer field formats the displayed document after its relative width is set by whatever column you have it in.&amp;nbsp; The one helpful thing I can offer is that you could potentially allow the User to &amp;quot;move&amp;quot; the display around to different areas on the form by clicking various icons / buttons you place in pertinent spots, which can set the values of local variables that then determine the display behavior of the field - so for instance a user could click an arrow that moves the document out of the narrow left panel and into the &amp;quot;main&amp;quot; panel, and later they could click a different icon to move it back.&lt;/p&gt;
&lt;p&gt;For what it&amp;#39;s worth, my normal convention to show PDFs in the document viewer field is to show it in a separate section below the main contents of a form, since it usually requires the user scrolling down and then scrolling inside the PDF, no matter what else you do.&amp;nbsp; And as I said, the control we have here is pretty limited, partly due to the inherent nature of PDFs and trying to view them inside a browser window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Preview PDF files with documentViewerField and problem with spacing between other components</title><link>https://community.appian.com/thread/131886?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 15:00:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83d307ea-0841-493f-b155-b98aa3413f47</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/sandrav0002"&gt;Sandra&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would say that depends on the information that you are trying to display. But have you tried to put all your components in a a!billBoardLayout() and try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>