ExportPackage Object
The ExportPackage: object is a property of the ExportPackages: object and represents the export package.
ExportPackage object properties
The ExportPackage: object provides the following properties. Some are read-only.
ContentIncluded property
Gets or sets a value that indicates the types of document content contained in the export package.
Syntax
ContentIncluded As Long
Return values
One of the AS_EXPORTPACKAGE_CONTENTINCLUDED_VALUES: constants available in the VBScript editor Object Browser:.
Remarks
The package must be in the Open: status to set the value.
ProjectID property
Gets the Meridian Portal project ID (GUID) of the package. This is available only after the system links the Meridian project to a Meridian Portal project. Read-only.
Syntax
ProjectID As Long
Remarks
The system stores the ID in the Meridian folder property ProjectFolder PropertySet.ProjectID:. Set the ID using the SetProjectID: method.
ExportPackage object methods
The ExportPackage: object methods affect the export package.
AddDocument method
Adds the specified document to the export package.
Syntax
AddDocument(DocGlobalID As String)
| Name | Description |
|---|---|
| DocGlobalID | The GlobalID: value of the document to add. |
Remarks
Only supported for export packages in the Open: status.
IsDocumentInPackage method
Gets a value that indicates whether the export package contains the specified document.
Return value
True: if the export package contains the document, otherwise False:.
Update method
Saves the properties of the package.
Remarks
Invoke this method after setting all package property values and before you add documents or send the package.