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
1464 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
Parents
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
Reply
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
Children
No Data