Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
5 subscribers
Views
1349 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to populate a table in a word document with process variables using
rrandall
over 8 years ago
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
0
sonalk
over 8 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sonalk
over 8 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data