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
3 replies
Subscribers
5 subscribers
Views
1462 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi all, My task: System generate a PDF from a template, where s
alvinc
over 10 years ago
Hi all,
My task:
System generate a PDF from a template, where system fill in the field with user's input.
My question is: Is any plug-ins support inserting a dynamic no. of row of a section? For example, there should be 4 rows shown in the output if there are 4 inputs.
Attached is the sample for reference.
Sample Letter.docx
OriginalPostID-138237
OriginalPostID-138237
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Maybe the Advanced Document Templating plug-in
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jackm829
A Score Level 3
over 10 years ago
For conditional multiple row content, you could have one field in a PDF template document, and then supply an expression rule as the input from in process. The expression rule should return a variable number of rows depending on the inputs to the rule. You can use char(13) as necessary to introduce carriage returns (new rows). So the expression rule may look something like:
concat(
if(rule!APN_isBlank(ri!var1), "", ri!var1 & char(13)),
if(rule!APN_isBlank(ri!var2), "", ri!var2 & char(13))
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alvinc
over 10 years ago
Thanks Eduardo, I will take a look on that plug-in.
@jackm829. Thanks for your suggestion. Unfortunately, it could not apply to my case, there is a static section follow this dynamic section, part of the input cannot be displayed in my testing case. Please refer to the attached.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel