ExportPackages Object

The ExportPackages object exposes the export package functionality of the vault. The ExportPackages object is available to the Vault object.

ExportPackages Object Methods

The ExportPackages object methods affect the collection of all ExportPackage objects related to the current vault.

ClosedCreateNewPackage Method

Creates a new export package for documents from the current vault.

Syntax

CreateNewPackage(Name As String) As IASExportPackage
Parameters
Name Description

Name

The name of the new export package

Return Value

An ExportPackage object.

ClosedFindDocumentPackages Method

Gets the export packages that contain the document with a given GlobalID value.

Syntax

FindDocumentPackages(DocGlobalID As String) As Array
Parameters
Name Description

DocGlobalID

The GlobalID value of the document for which to find the related export packages.

Return Value

An array of ExportPackage objects.

ClosedFindPackage Method

Gets an export package with a given name.

Syntax

FindPackage(NameOrID As String) As IASExportPackage
Parameters
Name Description

NameOrID

Name or ID of the export package to get.

Return Value

An ExportPackage object.

2023