cancel
Showing results for 
Search instead for 
Did you mean: 

Create archive (zip) file

Vladimir_Feldma
Champ in-the-making
Champ in-the-making

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.Zip, dotnetzip etc.



2 REPLIES 2

Justin_Carlson
Employee
Employee

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.

ERIC_HACKMAN
Champ in-the-making
Champ in-the-making

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.