Generate dynamic table using "FREEMARKER" and "dynamic template smart service"

Hello,

I want to dynamically generate a table in a word document.
So i have an array of arrays { [facility1, atribute1, atribute2]; [facility2, atribute2, atribute3] }
I want to dynamically generate a table for each child array ([facility1, atribute 1, atribute2]) .The generated tables will have a static header and a table row for each atribute in the child array.

Can some one give me some advice.

Thanks in advance,
George

OriginalPostID-251220

  Discussion posts and replies are publicly visible

Parents
  • Hi georgec,
    You can generate dynamic table using document XML, Below are the steps to follow
    1. Copy the table into fresh word document
    2. Save this in word xml format
    3. open it with notepad and
    4. copy entire <w:tbl> </w:tbl> content and create two expression rules one for the header row and another one for the contents

    This worked well for me. Let me know in case of any doubts. I'm using a template to generate document.
Reply
  • Hi georgec,
    You can generate dynamic table using document XML, Below are the steps to follow
    1. Copy the table into fresh word document
    2. Save this in word xml format
    3. open it with notepad and
    4. copy entire <w:tbl> </w:tbl> content and create two expression rules one for the header row and another one for the contents

    This worked well for me. Let me know in case of any doubts. I'm using a template to generate document.
Children
No Data