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
5 replies
Subscribers
4 subscribers
Views
2382 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
#DynamicDocumentGenerator Hi, I'm trying to use the Dynamic Document Generat
Jitu Patel
Certified Lead Developer
over 8 years ago
#DynamicDocumentGenerator Hi, I'm trying to use the Dynamic Document Generator plugin by merging multiple DOCX documents using DOCX Merge and then converting to a PDF using PDF from DOCX. What seems to be happening is that the PDF from DOCX only converts the first document that was entered into the DOCX Merge. The merged document, however, contains all pages from all source documents. I'm assuming the page breaks added to merge the documents is causing this issue. If you open the merged DOCX document, save it, and rerun it through PDF from DOCX, it works. This issue can be recreated using any 2 DOCX documents. Is this a known issue? Does anyone know a work-around for this?
OriginalPostID-192525
OriginalPostID-192525
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
@jitendrap I am not aware of the actual issue but you can make a work around where the multiple documents will be converted into PDF by using 'PDF from DOCX' in the first place and then you can finally merge the generated PDF documents into a single document by using 'Merge PDF' smart service in 'PDF Tools' Shared Component at https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yQZ7MpzhduWHwyNAKZtKRO8ZUtPHppHKQ/view/summary. This will serve you as a work around, just in case if there is a problem with merged DOCX document.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jitu Patel
Certified Lead Developer
over 8 years ago
@sikhivahans Thanks for the quick response. The reason I am not just inputting all source docx documents into the PDF from DOCX node is because I allow the user to make changes and reupload the merged DOCX document. They can, but do not have to make changes, so I can't count on them opening the document with Word and saving it every time. My temporary work-around will be to check if they re-uploaded the document: if they did, I will assume they opened and saved it so it will convert to PDF properly, otherwise I can just pass all source documents into PDF from DOCX. Main issue with this is that I am counting on them to never re-upload the original merged document without re-saving it in Word.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@jitendrap Ah I see, I understood the scenario. In this case, until and unless the plugin is tweaked or an alternate functionality is developed(assuming that a problem do exists with merged DOCX document), you may have an user input task in the process that will instruct a user to download the document, save and upload it. Let's see if other practitioners could come up with a better approach.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jitu Patel
Certified Lead Developer
over 8 years ago
@sikhivahans Thanks, I thought of that as well. I will stick with my work-around so as not to force users to download and re-upload unnecessarily until a fix is in place for this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@jitendrap No problem, even your idea looks great.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel