Add Documents to zip

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
    Certified Lead Developer
    Please see the attached application.

    Prerequisites: Appian 16.2; Add Documents to ZIP plugin.
    Assumptions: The Word Document is .docx format and has only 1 image, or at least the image you intend to replace was the first image added. The replacement image is of a similar size and file type. The resultant document will be a new version of the given document (instead of a separate copy) - this can be tweaked as needed by adjusting the process, though.

    Let me know if there are any questions.

    Replace Image in Word Docx.zip

Reply
  • 0
    Certified Lead Developer
    Please see the attached application.

    Prerequisites: Appian 16.2; Add Documents to ZIP plugin.
    Assumptions: The Word Document is .docx format and has only 1 image, or at least the image you intend to replace was the first image added. The replacement image is of a similar size and file type. The resultant document will be a new version of the given document (instead of a separate copy) - this can be tweaked as needed by adjusting the process, though.

    Let me know if there are any questions.

    Replace Image in Word Docx.zip

Children
No Data