<?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>Docx from Dynamic template with table of empty data not showing table headers</title><link>https://community.appian.com/discussions/f/plug-ins/37495/docx-from-dynamic-template-with-table-of-empty-data-not-showing-table-headers</link><description>Hi All, 
 I have a template document where it has 3 statements and then a table which will display data . But if the data is empty, the table header is also not displaying . But I need the output doc to display the template. table with header row showing</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Docx from Dynamic template with table of empty data not showing table headers</title><link>https://community.appian.com/thread/140616?ContentTypeID=1</link><pubDate>Sun, 15 Sep 2024 14:56:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2cbaf30-ac34-4a0e-a324-a22a033fe086</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;&lt;a href="/members/kavyan0003"&gt;kavyanatrajan&lt;/a&gt;&amp;nbsp;Did this work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Docx from Dynamic template with table of empty data not showing table headers</title><link>https://community.appian.com/thread/140497?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 05:29:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce968c6b-26e6-4a4f-b7d5-8021e746ceeb</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Please try this&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:218px;max-width:525px;" height="218" src="/resized-image/__size/1050x436/__key/communityserver-discussions-components-files/19/pastedimage1726032537174v1.png" width="525" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Docx from Dynamic template with table of empty data not showing table headers</title><link>https://community.appian.com/thread/140485?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 16:17:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:753e710c-d6bb-44c6-837f-d7eb152ef877</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Yes Its possible, try the following code in your docx template.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:243px;max-width:585px;" height="243" src="/resized-image/__size/1170x486/__key/communityserver-discussions-components-files/19/pastedimage1725984805377v1.png" width="585" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also you need to change the xml in case you do not have any data for the table&lt;/p&gt;
&lt;p&gt;XML for valid values&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:92px;max-width:627px;" height="92" src="/resized-image/__size/1254x184/__key/communityserver-discussions-components-files/19/pastedimage1725984856058v2.png" width="627" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;XML for empty values&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:86px;max-width:540px;" height="86" src="/resized-image/__size/1080x172/__key/communityserver-discussions-components-files/19/pastedimage1725984937817v4.png" width="540" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This will give you the following results&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/pastedimage1725984997859v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;or&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/pastedimage1725985028804v7.png" alt=" " /&gt;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>