Can someone explain how to configure the "Add Documents to Zip" node? I just want to add the selected images to zip file. Thank you.
Discussion posts and replies are publicly visible
here is the process model that I'm going to use "Add Documents to Zip".
It's simple:"base document": The document to base the new document on. All files in the base document will be part of the new document. Any files that match documents being added will be replaced."Create new document": Wether to create a new document or a new version of a document.in "New Document Name" and "New Document Desc" place the name and the description of the file zip created.
in "Save In Folder" where you place the zip file.
"Existing Document": The existing document to create the new version for. Must be provided if creating a new version. (of the file existing zip file if you want to replace, remember: you have to set "Create new document" to false.)
"Documents To Add": The array of documents to add to the ZIP.
"Document Paths":The array of paths (including file names, the path to use inside the zip created).
can you give me an example?
ok, with constant.
obviously, if in "Get Selected Image" you fetch the document, you have to put in "document to add" parameter.in that case, assume is pv!myImage.
hope this will help you.
I got an error in "Existing Document" :
ExistingDocument must be provided when a new document isn't be created.
Below are my inputs:
I'm confused about what value will I input into the Existing document.
Hi,
You only need to pass exiting document if you are creating a new version of existing document (in case If your requirement never update any existing document don't pass any value to existing document).
If your requirement is always creating new zip file every time when you adding new image files
In case if you are creating a new version of an existing file
thank you for this. I already created a zip file and add the image to the zip but I got a problem when I unzip the file, the file extension of the image is not included. Below is the output when I unzip the file.
Thank you for your help, Naresh and Vincenzo Reggina I have already solved the issue.