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
1312 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Has anyone had success with multiple lists in the advanced document template sma
nickh413445
Certified Senior Developer
over 9 years ago
Has anyone had success with multiple lists in the advanced document template smart service?
We're trying to display a dynamic list of lists in a document, and am wondering if anyone was able to do that successfully.
OriginalPostID-193832
OriginalPostID-193832
Discussion posts and replies are publicly visible
0
John Peacock
Certified Lead Developer
over 9 years ago
You should be able to use a CDT-like structure to hold the sub-list. So, for instance, if you have a list of objects called "projects" and each "project" has a list of "developers", you could create an XML structure to mirror it.
Similar to the example document given on the shared components page. However, your top-level would be something different.
<projectteam>
<department>engineering</department>
<project name='Document Templating'>
<developer name='John' lastEmail='Smith' mail='smith@email' day='10-10-2014' />
<developer name='Frank' lastEmail='Brown' mail='frank@email' day='10-10-2014' />
</project>
</projectteam>
Within the actual template, you would use the regular dot-notation to access the fields.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel