<?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>HTML to PDF Conversions</title><link>https://community.appian.com/discussions/f/general/39369/html-to-pdf-conversions</link><description>Hi All, 
 I have a requirement where I need to generate a PDF with dynamic values (which includes tables). I have been first generating HTML file using HTML Doc from Template smart service and later using HTML to PDF smart service but I have below mentioned</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/150238?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 22:05:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a50f40d6-42a0-4bda-88d4-0aaf26d81999</guid><dc:creator>Jenaburton</dc:creator><description>&lt;p&gt;You are my hero for the image fix. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149561?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 06:19:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7139f929-ea17-417c-902a-bfc31197f41c</guid><dc:creator>Swathimdas</dc:creator><description>&lt;p&gt;Thanks Stefan! That actually helped. I was able to manage the margins only by giving in page style and not specifying any margins for body or main.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149560?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 06:17:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:345d4d9f-5fda-408e-98f6-da352704eaf6</guid><dc:creator>Swathimdas</dc:creator><description>&lt;p&gt;Thank you Magesh! That solved my issue!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149464?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 06:33:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6aeb5b59-8a67-4f55-bfa9-6527949ae6fa</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I had this working in the past, but it was tricky for me, not being a CSS expert. But I started using this template&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/danfickle/openhtmltopdf/wiki/Page-features"&gt;https://github.com/danfickle/openhtmltopdf/wiki/Page-features&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and after some trial and error, I had it working. I do not have this working code at hand.&lt;/p&gt;
&lt;p&gt;To make development faster, I created an interface which had a paragraph field on top to enter the HTML code, a button to start the PDF generating process, and a document viewer below.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149461?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 06:17:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:231a63b1-035f-4df6-9e25-a74b65c8f20d</guid><dc:creator>Swathimdas</dc:creator><description>&lt;p&gt;Thank you &lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;!&amp;nbsp;That solved my first issue. But I am still struggling to add header and footer. Do you know if there is any limitation with Appian related to below CSS? (Issue: I cannot see bottom-right value when I convert HTML to PDF)&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1751350599266v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149421?ContentTypeID=1</link><pubDate>Mon, 30 Jun 2025 13:00:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e07f909-fe46-4f8c-b73b-f27ed65e9ead</guid><dc:creator>Magesh Waran G</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="/members/swathim0002"&gt;Swathimdas&lt;/a&gt;&amp;nbsp;For the first point, you can store images as Appian documents and reference them in your HTML using the following approach:&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;&amp;lt;img appianDocId =&amp;quot; &amp;amp; document(ri!documentImage,&amp;quot;id&amp;quot;) &amp;amp; &amp;quot; &amp;gt;&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HTML to PDF Conversions</title><link>https://community.appian.com/thread/149420?ContentTypeID=1</link><pubDate>Mon, 30 Jun 2025 12:57:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:489fd4a4-dfb7-4419-ac21-feb03baeda2e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;My blog post gets your image requirements covered:&amp;nbsp;&lt;a id="" href="https://appian.rocks/2023/10/23/great-pdfs-with-appian/"&gt;https://appian.rocks/2023/10/23/great-pdfs-with-appian/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The formatting and CSS can be tricky. On the github repo, you will find great examples I typically start with.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/danfickle/openhtmltopdf"&gt;github.com/.../openhtmltopdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>