<?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>Creating a dynamic pdf letterhead</title><link>https://community.appian.com/discussions/f/plug-ins/40009/creating-a-dynamic-pdf-letterhead</link><description>Hi folks, 
 As part of our requirement, we need to generate a letterhead in PDF format. The PDF should include the following: 
 
 
 Header with the company logo and details — essentially two images: • Left: address &amp;amp; UEN • Right: company logo 
 
 
 Standard</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152783?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 16:32:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77a70f7b-e6b7-46b7-8ffc-d779eb493496</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Actually Using the mergefield having loop definition in doc file we can pass n number of rows in the doc file dynamically! Row count is not fixed this way and very well formatted/dynamic.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152743?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 14:40:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f243748-06fc-47ac-9bbc-c63c43854949</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Amazing, thanks &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/270c_2D00_1f3fb.svg" title="V tone1"&gt;&amp;#x270c;&amp;#x1f3fb;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152742?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 14:39:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0346d1bf-a472-4456-ae64-9b04606fc572</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Yes it worked perfectly .. thanks a lot for the suggestion ... But do you have any reference for XSL-FO ? just for my reference as I do not seem to find any reference anywhere &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152739?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 10:40:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53728cc8-f92d-42c8-98a1-9115cba4bfae</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://appian.rocks/2023/10/23/great-pdfs-with-appian/"&gt;appian.rocks/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152737?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 10:38:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ea62cf0-63db-4fc1-8232-af5101813d3f</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Let us know if that works for you..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152736?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 10:16:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f96ff3f6-3a47-4823-bd26-630a5243e772</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Hey &lt;a href="/members/harshas2775"&gt;Harsha Sharma&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for response&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But this&amp;nbsp;&lt;span&gt;DOCX From Dynamic Template does not support dynamic table rows since we need to decide the&amp;nbsp;table before hand. My requirement is to have dynamic rows i.e. 1/2/ n rows in a table based of my data&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152727?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 08:11:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7351ced5-f809-489f-a92a-c8ca754aa66a</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can use smart service &amp;quot;DOCX From Dynamic Template&amp;quot; to generate the DOCX with&amp;nbsp;formatting and logos in the template itself. Data can be populated&amp;nbsp;based on the XML you pass. For the Word Template you can refer the attached image below to get an idea about how you can create a template.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1765267638009v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/19/pastedimage1511425243661v1.png"&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1511425243661v1.png" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Later if you want to create a PDF you can use smart service &amp;quot;PDF from DOCX&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152726?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 06:01:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4bae96e-20c0-4be7-ba66-5022303ac643</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Hey &lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the response&lt;/p&gt;
&lt;p&gt;Sure let me try the base64 way if it works&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a dynamic pdf letterhead</title><link>https://community.appian.com/thread/152723?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 15:59:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:602ea0ee-f6e4-4920-b5e7-44e008e8b635</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Use HTML to PDF smart service:&lt;br /&gt;Images work - Use base64-encoded images or Urls&lt;br /&gt;Build HTML string with:&lt;br /&gt; Header: &amp;lt;img src=&amp;quot;data:image/png;base64,YOUR_BASE64&amp;quot;&amp;gt; for logos&lt;br /&gt;Body: Dynamic text fields&lt;br /&gt;Table: Loop through data to generate &amp;lt;tr&amp;gt; rows&lt;br /&gt;Pass HTML string to smart service&lt;br /&gt;&lt;br /&gt;XSL-FO is overkill for this : stick with HTML.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>