I am trying to populate a table in a word document with process variables using

I am trying to populate a table in a word document with process variables using Advanced Document Templating. Below is the syntax I am using :

Dynamic Word Document Table :
<<@before-row[#list doc.wrd.poc as poc]>><<${poc.@name}>><<@after-row[/#list]>>

Xml Data Model {Value} :
<poc name='"&toHtml(pv!poc.name)&"'/>

Result : data being displayed in a single row (i.e. John SmithHarry TrumanElliot Smith).

How do I get it to display in three rows per my example?

OriginalPostID-191833

OriginalPostID-191833

  Discussion posts and replies are publicly visible

Parents
  • Hi Rrandall,
    In the template you need to create a table and split the data with the syntax as mentioned below :
              
              First Name <<[#list doc.wrd.poc as poc]>><<${poc.@firstName}>><<[/#list]>>
              
              Middle Name <<[#list doc.wrd.poc as poc]>><<${poc.@middleName}>><<[/#list]>>
              Last Name <<[#list doc.wrd.poc as poc]>><<${poc.@lastName}>><<[/#list]>>

    Hope it helps.
Reply
  • Hi Rrandall,
    In the template you need to create a table and split the data with the syntax as mentioned below :
              
              First Name <<[#list doc.wrd.poc as poc]>><<${poc.@firstName}>><<[/#list]>>
              
              Middle Name <<[#list doc.wrd.poc as poc]>><<${poc.@middleName}>><<[/#list]>>
              Last Name <<[#list doc.wrd.poc as poc]>><<${poc.@lastName}>><<[/#list]>>

    Hope it helps.
Children
No Data