Community

Batch export with FlexiCapture Standalone Answered

Hello,

is there a way of exporting per batch instead of per document in FlexiCapture 11 - Standalone. I cannot find the "Process whole batches" checkmark in the Project->Workflow tab as stated in the online-help.

My goal is to get a collection of documents where i can iterate over and compose data for a single output file per batch.

 

 

0

Comments

4 comments

  • Avatar
    Ekaterina

    Hello,

    Please go to the export settings in the Document Definition and press the “Edit” button in the export profile. You see the “Target” drop list. Choose the one what suits the most. If no option meets your needs, you may write the script export as described here: Appendix > Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Sample scripts > Sample scripts describing export)

    0
  • Avatar
    euphony

    That's the way I did it till now... In this case the following arguments are available: Document: IDocument; Processing: IProcessingCallback. If i mark a batch and start export, the script will be called for every single document in this batch. What I try to achieve is to write a script that gets a collection of documents (i.e. Documents: IDocuments) containing the documents available for export in this batch. The Script should be called only once for exporting the whole batch. Is that possible?

    0
  • Avatar
    Ekaterina

    Hello,

    To set up export of all batch's documents into one file on the level of Document Definition, you may create the custom script export. 

    For example, you may create a file named as batch name (taking the value IDocument::Batch.Name) and write there the fields names/values from the document. If output file with such name already exists (it will happen when not the first document of the batch is exported), you may append new data to it. 

    This approach will allow to export all batch's documents into one file per batch.

    0
  • Avatar
    euphony

    Thanks for the clarification. So its only possible to export "per document".   In my case i will have to reread, recalculate and rewrite the export file for every document. But its working....

    0

Please sign in to leave a comment.