Download
Imports files from Box into the current batch based on the settings of the Import object.
Member of namespace
Important: You must configure the DatacapBOX action before
you use this option. For more information, see DatacapBOX actions.
DatacapBOXSyntax
Download() Returns
True in the following circumstances:- One or more files are found in the Box source folder (as specified by the SourceFolder setting)
- All files in the Box source folder are successfully imported
Otherwise, the action returns False.
For information about the causes of a failed import process, see the rulerunner log in the current batch folder. For more information, see Analyze the Rulerunner log.
Level
Batch level.Details
Use this action to import files
into the current batch from Box based on the settings of the Import object.
Box data is converted in the following manner:
- Box files become page objects
- Box metadata becomes page DCO variables
If no files are found in the Box source folder, the status of the current batch is set to Pending.
- Example:
-
// Files SourceFolder("ToDatacap") LookForExtensions("tif,tiff,jpg,jpeg") // Reimport prevention BackupFolder("InDatacap") // DCO objects ImportAsDocumentType("MyDocType") // Import process Download()