Upload

Exports files to Box from the current DCO object based on the settings of the Export object.

Member of namespace

Important: You must configure the DatacapBOX action before you use this option. For more information, see DatacapBOX actions.
DatacapBOX

Syntax

Upload()

Returns

True if the export process succeeds. Otherwise, the action returns False.

For information about the causes of a failed export process, see the rulerunner log in the current batch folder. For more information, see Analyze the Rulerunner log.

The FailIfFileExists setting partly determines what constitutes a successful export.

Level

Batch, document, or page level.

Details

Example:
// DCO objects
ProcessChildren(True)

// Metadata
AddParentDataToPageMetadata(True)
DCOVarsAreMetadata(True)
FieldsAreMetadata(True)

// Location
TargetFolder("Datacap")
CreateBatchSubfolder(True)

// Existing file versions
OverwriteExistingFiles(True)
ReplaceMetadata(True)

// Export process
Upload()