Docushare Export plugin

This plugin is used for exporting zipped file for a batch. It transforms the batch.xml to another .xml format acceptable by Docushare CMS and zips it along with multipage .pdf to a Docushare export folder location.

Steps of execution

  • This plugin works in the export phase of the application when all the processing on the batch has been done and it is ready to be exported.
  • The plugin makes use of a predefined .xml to convert the batch.xml file into a Docushare supported format. The name of the new .xml file is given according to the user specified value.

  • The plugin then groups .pdf file associated with the batch.

  • After all the work is done, the plugin makes a .zip file of all the content and names the file according to the user specified value.

Configure the plugin

Make changes in the property file if required: {Ephesoft Transact-Home}/WEB-INF/classes/META-INF/dcma-docushare-export/dcma-docushare-export.properties

The following table gives the list of configurable properties for the plugin.

Configurable property

Type of value

Value options

Description

docushare.final_export_folder

String

docushare-export-folder (default folder is <Shared folder directory> SharedFolders DOCUSHARE-export-folder)

This field stores a string value of folder in which the zipped file will be exported after transformation in desired format.

docushare.final_xml_name

String

_docushare.xml

This value holds name of the batch xml finally created.

docushare.zip_file_name

String

_docushare.zip

This value holds name of the zip file finally created.

docushare.switch

List of values

  • OFF
  • ON

This property determines whether the plug-in will run or not.

Dependency

The plugin assumes the extraction for the incoming batch has been done properly and just changes the results of provided batch.xml in a desired format.

Troubleshooting

If a malfunction occurs with the Docushare Export plugin, the following error messages may appear.

Error message

Possible root cause

Problem in zipping directory

Export folder name is invalid for one of the following reasons:

  • The file is not present
  • It is not a directory

Could not find .xsl file

The .xsl file is not present in the classpath resource

Problem occurred in transforming

  • The .xsl file is not present
  • Problems in the transformation process