This plugin is used for exporting the csv file for a batch. It transforms the batch xml to a csv file format acceptable and exports it to the final csv export folder location configured in the “CSV Creation Final Export Folder” property. The csv file is created using the batch.xml file for the document level fields present. If the switch is ON then a csv file for batch is created.
Steps for configuring the plugin
- User can select the Export module and navigate to CSV File Creation plugin configuration page as shown below:
The User can edit the above settings in order to change the settings for their requirements.
Following are the configurable properties available for the CSV File Creation plugin:
|Configurable property||Type of value||Value options||Description|
|CSV Creation Final Export Folder||String path to export folder||Ex : C:\ephesoft-data\csv-export-folder||Folder in which the csv file created will be exported.|
|CSV Creation Switch||List of values||
||Determines whether the plug-in will run or not.Default OFF.|
Steps of execution
- This plug-in works in the export phase of the application when all the processing on the batch has been done and it’s ready to be exported.
- The plugin works to form a csv file is the plugin switch is “ON” otherwise no csv file is created.
- The plugin uses the batch.xml file to create the csv file for the batch. It exports the document level fields present in the batch.xml to csv file.
- After creation the file is copied to the final “CSV Creation Final Export Folder” configured.
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.
Following are few common error messages received due to mal-functioning of the plugin:
|S no.||Error message||Possible root cause|
|1||CSV File Creation Export Folder value is null/empty from the database. Invalid initializing of properties.||If the path configured is not valid.|
|2||Batch Document List is null or empty.||If there are no documents in the batch.|