08-15-2021 01:20 AM
Is there an API or tool that Hyland have to create zip file ?
The API should allow to add files (as stream) to the zip.
Like Ionic.
08-26-2021 11:16 AM
There is no built in ability to create your own zip file. There are some parts of the software that may ultimately generate a zip file, but nothing that the API does will create a zip file or provide the ability to add to a ZIP file, nor is there a way to build up the contents into a zip file.
You would need to use one of the third party libraries you referenced to accomplish this.
08-26-2021 11:57 AM
If you are licensed for Workflow and depending on the solution you're building, a possible solution might be to send documents to a simple Life Cycle using the Workflow.AddToLifeCycle method. In the Life Cycle utilize the Export to Network Location action in System Work, within the Initial Queue, and configure the Compress Contents option to write the documents to a zip file. This action will insert each document entering workflow into the same zip file.
NOTE: You will want to use the Remove Item from Life Cycle action to remove the document from the Life Cycle after it's added to the zip file.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.