<?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>Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/discussions/f/plug-ins/10663/building-table-in-docx-with-dynamic-columns</link><description>I have a task to create a Dynamic DOCX document with table in it. I have created one with number of rows increasing, but my requirement need me to make a table with dynamic column as well. Has anybody worked on such thing before. If yes please let me</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/117831?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 07:29:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99eaadab-de90-40eb-9f0e-7d6b68dbd154</guid><dc:creator>Prabha</dc:creator><description>&lt;p&gt;Hi inder, i have requirements to generate dynamic document with table where rows can be change according to the provided values, kind of a newbie in appian can help me with this please, how to approach this how to create a template.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/71384?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 16:22:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c161f08-186e-4b6b-8e51-8d42d1b22090</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What are you trying to do exactly?&amp;nbsp; This is a fairly old thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/71383?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 16:19:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74a262bd-fade-497e-b2b0-66bbf9d81bfe</guid><dc:creator>pierpaolo.longobardi</dc:creator><description>&lt;p&gt;Hi Mike. I&amp;nbsp;got some missing precedence while importing this zip. I just wanted to know how you set the process model. Could you please give me a brief knowledge?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/70229?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 13:09:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f66f0f6-cc1d-4f8e-a444-148793cfc15a</guid><dc:creator>vahedullas1000</dc:creator><description>&lt;p&gt;Hi Venkanna,&lt;/p&gt;
&lt;p&gt;I can able to generate Dynamic table using Docx from Dynamic template smart service but facing an issue. I have 4 columns each has to display list of users.&amp;nbsp;For single column it is working fine. But when i place 4 columns, duplicate rows are getting generated like (no of first column values * no of columns)&lt;/p&gt;
&lt;p&gt;Ex: First column has 5 values and table has 4 columns. 20 rows are getting generated.&lt;/p&gt;
&lt;p&gt;Please let me know if you have any solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/62708?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 20:47:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:834d797c-a020-47a9-aa25-8baa29f0e162</guid><dc:creator>manuelp0001</dc:creator><description>which one is the correct one?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/50337?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 08:14:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d8e6d12-66d7-4e03-ae39-1383131c95df</guid><dc:creator>andreap919</dc:creator><description>Ok, I find the correct one! Thanks for your advice!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/50336?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 07:52:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a6f1791-8337-4482-9b81-a7c4a413b159</guid><dc:creator>andreap919</dc:creator><description>Thanks Singh! &lt;br /&gt;
Excuse me, is the shared component name &amp;quot;Dynamic Document Generator&amp;quot;? I can&amp;#39;t find the &amp;quot;DOCX From Dynamic Template&amp;quot; smart service on it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/50335?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 07:23:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74628386-7b97-407f-b35f-4df5ce875f2d</guid><dc:creator>inder_arora</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use smart service &amp;quot;DOCX From Dynamic Template&amp;quot; to generate the DOCX with dynamic number of rows based on the XML you pass. For the Word Template you should see the attached image below to get an idea about how you can create a template.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/19/pastedimage1511425243661v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1511425243661v1.png" alt=" " /&gt;&lt;/a&gt;&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: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/50334?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2017 07:10:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1e49768-d89c-40db-8530-7d56e10b3b0b</guid><dc:creator>andreap919</dc:creator><description>Hi TJ! Could you share how can I realize the creation of a table with a dynamic number of rows? Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46605?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 17:06:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba04bd81-4782-45d1-9a6d-9533a7f73338</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;FYI, I am attaching the system of rules I developed to handle word doc table generation, which includes a demo process model which you can run and try out the generation, and then hopefully use as a template for using this system with your other data.&lt;/p&gt;
&lt;p&gt;One word of caution: presumably due to the custom nature of the wordML being used here, I&amp;#39;ve gotten feedback from elsewhere that if a Word doc is generated using this functionality but then converted to PDF via the Appian smart service, the tables won&amp;#39;t work correctly in the resulting PDF.&amp;nbsp; However they look fine in the Word doc itself.&lt;/p&gt;
&lt;p&gt;Please let me know if you have any questions.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/19/Document-Table-Generator-Test-_2800_generic_2C00_-17.2_2C00_-july-2017-_2D00_-updated_2900_.zip"&gt;community.appian.com/.../Document-Table-Generator-Test-_2800_generic_2C00_-17.2_2C00_-july-2017-_2D00_-updated_2900_.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Edit: find a much more updated (and comprehensive, all-inclusive) export of the above, by following &lt;a href="/discussions/f/plug-ins/35308/generate-document-with-dynamic-grids/137237"&gt;this comment trail&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46583?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 17:38:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d30b1b09-5db4-4191-829a-8d9fe0bc6300</guid><dc:creator>Mike Schmitt</dc:creator><description>In my version (which probably works differently), the whole table is put into one word doc replacement field.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46582?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 17:32:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4a8bdfe-4da7-4d1f-aa57-9cc67c5da2c9</guid><dc:creator>inder_arora</dc:creator><description>Hi Mike, Can you please give me a brief knowledge about how to build a table arbitrary number of columns. I have build one with arbitrary number of rows. But since i am providing a template with fixed column headers i am not able to build table with arbitrary columns&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46581?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 14:44:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:effabfa2-d9f1-49e4-9c28-36dd5bc7bc0a</guid><dc:creator>Mike Schmitt</dc:creator><description>I&amp;#39;ve done this myself, and to do it I had to build rules to inject the correct wordML code into the docx, from the ground up.  But in doing so, I was able to build tables with arbitrary number of rows and columns, with added dynamic formatting (bold, underline, etc), and at least somewhat settable column widths.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46538?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 08:15:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2dcd2c8-7a15-4a18-86c8-59a320afd60f</guid><dc:creator>venkannak</dc:creator><description>HI Inder, Please use the below link where you can found the details that you want&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhuuvLnNSFAYwpKEpOiDWbirQWb8hBSHoDg/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46524?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 15:50:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d6bfd7d-5d23-4b37-90cd-a1088b115428</guid><dc:creator>inder_arora</dc:creator><description>Hi, How can i use the &amp;quot;ncolumntable&amp;quot; function. I am unaware about it. Can you pls guide me a little.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46523?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 15:42:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29d692ca-061b-4998-b0c1-3c780d18e207</guid><dc:creator>inder_arora</dc:creator><description>&lt;p&gt;Yes I have created a dynamic DOCX in which rows are adding dynamically as per the list i pass in XML. But can i increase the columns based on something, because as per my knowledge we have to pass a template to create a DOCX file in which beforehand i have to provide the columns. Please find below screenshot of the template. Here I have fixed Name, Last Name and Mail. Suppose I want to add one more column &amp;quot;dynamically&amp;quot; like Phone Number. Can that be done?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/19/pastedimage1499182889435v2.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1499182889435v2.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46522?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 13:04:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11c048b2-f1a4-4a5d-8d55-2576cc5150ce</guid><dc:creator>venkannak</dc:creator><description>If you use ncolumntable and create the table that you required and convert it as an Image then set it on to DOCX document.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46520?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 12:53:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1c095e81-d372-4840-b5e3-84d35edf291d</guid><dc:creator>hrishikeshd174</dc:creator><description>you need to bulid XML tag for each field using which you able to create dynamic DOCX&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46510?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 08:53:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fb3cbd1-14ab-4adf-bd31-2d2db5a31e4c</guid><dc:creator>inder_arora</dc:creator><description>I have already created a document which dynamically adds rows depending on size of List. But what i need now is to dynamically add columns depending upon certain condition. Is that possible?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building Table in DOCX with Dynamic Columns</title><link>https://community.appian.com/thread/46508?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 08:41:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:160c4c56-bdb7-4c67-8654-d86ac70c37a4</guid><dc:creator>TJ</dc:creator><description>Try with RTF document type. It works with the same smart service but has ability to dynamically add rows to the table. I guess that would serve to your requirement.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>