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
8 replies
Subscribers
7 subscribers
Views
4204 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Question about generating a Word document from a template in Appian. 1. We
nechamaz
over 9 years ago
Question about generating a Word document from a template in Appian.
1. We have a use case where we would like to embed another document within the word document. We have the embedded document as a bytestream, is there any way to embed it like that?
2. Is there any way to loop in the template? If I have an array of students, and I want a word table with name, age, grade etc. can I indicate that this is an array to be looped over?
OriginalPostID-181615
OriginalPostID-181615
Discussion posts and replies are publicly visible
0
peterf
over 9 years ago
You can use the docxncolumntable function supplied with the Dynamic Document Generator function to build your student table
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterf
over 9 years ago
That should read "Dynamic Document Generator plugin" which of course is available under the Shared Components tab under Records
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nechamaz
over 9 years ago
Does that handle word templates? The documentation just says word from html or combining multiple word documents.
Does it handle embedded documents?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rahul Gundu
over 9 years ago
Ans for 2nd question. There is a plug-in called "MS Word 2007 Doc from Template", which is used to generate documents based on template. Using Open Office XML, we can loop a word table. We need to loop the code in a rule, and pass the OOXML code to document, it will render the table.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@nechamaz As suggested in the earlier post of yours, I would like to suggest you to opt for 'Advanced Document Templating' plugin. This should serve the purpose of your second question, and coming to the first question, I would like to suggest to explore the same plugin.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterf
over 9 years ago
Answer to your question "Does that handle Word templates" is yes, that is what we use it for, in conjunction with the OTB Word Doc From Template smart service. I Understand 'Advanced Document Templating' is a more recent alternative and possibly more powerful so if you are doing this for the first time you should examine that option first.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mathieud
over 9 years ago
1. Not possible AFAIK.
2. Yes it is possible to do some looping/tables with the Advanced Document Templating plugin:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nechamaz
over 9 years ago
Thanks! The Advanced Document Templating plugin seems ideal, but we are currently running 7.5. Is there any solution for Appian 7.5?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel