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
10 replies
Subscribers
5 subscribers
Views
4251 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Add Documents to zip
rishub
over 7 years ago
Hi All,
I tried to use "Add Documents to Zip" plug in to change the Logo dynamically for Docx & RTF document. When I tried to change the document that was having am image only, it did work & generated a new Document by replacing the image & I was able to open the document. Then I tried the same with document having image & verbiage, the document got generated but I was unable to open the the document as it gave me the following error: can one guide what is the error & how can I fix it please?
The Inputs that I used in Node are:
Base Document: "ABC Doc", it is the document that has a verbiage & old Logo
Create New Document: true()
New Document name: "ABC_Ltr_LOGO.rtf"
New Document Desc: No value
Save In Folder: cons!testFolder
Existing Document: Same as Base Document
Documents to add: "companyLogo"; (It is a logo image that needs to be replaced & being multiple it has semi column)
Document Paths: {"word/media/image1.png"}
T...
OriginalPostID-235158
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
As far as I know this will probably only work for DOCX files. After you have created the new version of your DOCX file with the graphic replaced, you should download it and open it in a ZIP file editor and navigate to the folder with the graphic and make sure it has been replaced properly.
Note, also, that the file must have been replaced, with another file of the same name (including extension) - sometimes the Add Documents to ZIP smart service will try to add an additional file instead of replacing the existing one, so you must troubleshoot until this is working properly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
As far as I know this will probably only work for DOCX files. After you have created the new version of your DOCX file with the graphic replaced, you should download it and open it in a ZIP file editor and navigate to the folder with the graphic and make sure it has been replaced properly.
Note, also, that the file must have been replaced, with another file of the same name (including extension) - sometimes the Add Documents to ZIP smart service will try to add an additional file instead of replacing the existing one, so you must troubleshoot until this is working properly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data