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
13 replies
Subscribers
8 subscribers
Views
4232 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
#GeneralInterest I have "user input task" activity and "document
dhavals
over 10 years ago
#GeneralInterest I have "user input task" activity and "document generator" service where i map the ### parameters(defined in DOCX template) with appropriate process variables.
PROBLEM: I want checkbox field to populate in template field based on given input from "user input task form".
As found, it discussed/found , we could achieve this using OOXML and w:checkbox such elements.
But, How can i generate OOXML for given template and generate docx file having checkbox ?
any one please share me some detail step to achieve checkbox field to populate in report template ?
Thank You......
OriginalPostID-79029
OriginalPostID-79029
Discussion posts and replies are publicly visible
Parents
0
Omkar Ambardekar
Certified Lead Developer
over 10 years ago
Dhaval, here is an example:
Create Word Docx template.
Use the "Text Doc from Template" smart service under Document Generation in your model.
Have a variable like ###wifiCheckbox### in your docx template.
In the Template Configuration, you can put an if() condition for ###wifiCheckbox###
For example:
Find in template document -> ###wifiCheckbox###
Replace with -> if(pv!isWifi, "<w:sym w:font="Wingdings 2" w:char="F052"/>", "<w:sym w:font="Wingdings 2" w:char="F0A3"/>")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Omkar Ambardekar
Certified Lead Developer
over 10 years ago
Dhaval, here is an example:
Create Word Docx template.
Use the "Text Doc from Template" smart service under Document Generation in your model.
Have a variable like ###wifiCheckbox### in your docx template.
In the Template Configuration, you can put an if() condition for ###wifiCheckbox###
For example:
Find in template document -> ###wifiCheckbox###
Replace with -> if(pv!isWifi, "<w:sym w:font="Wingdings 2" w:char="F052"/>", "<w:sym w:font="Wingdings 2" w:char="F0A3"/>")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data