OpenEdge provides an API for accessing attributes in a manifest file, contained in an archive file (.apl). You can access the main attributes of a manifest file using properties of the Progress.Archive.ArchiveInfo class. In addition, you can access custom attributes using the GetValue() method of the class.

The following table lists the manifest file attribute names and the corresponding properties you would use to access the attributes.
Manifest file attribute Progress.Archive.ArchiveInfo property
Build-Date BuildDate property
Component-Name Component property
Implementation-Title Title property
Implementation-Vendor Vendor property
Implementation-Vendor-ID VendorId property
Implementation-Version Version property
Signature-Policy SignaturePolicy property
Validation-Policy ValidationPolicy property

Note that the attribute names in the manifest file are case-insensitive.

Custom attributes

You can access custom attributes of the manifest file using the GetValue() method of the Progress.Archive.ArchiveInfo class.
GetValue("customAttributeName").

Example

The following example uses the Progress.Archive.ArchiveInfo class to access attributes from the manifest file contained in a .apl file called myfile.apl:
USING Progress.Archive.*.
VAR ArchiveInfo myLibInfo.
myLibInfo = NEW ArchiveInfo("myfile.apl").

// Display attributes of the manifest file
MESSAGE "BuildDate: " myLibInfo:BuildDate SKIP
  "Component: " myLibInfo:Component SKIP
  "SignaturePolicy: " myLibInfo:SignaturePolicy SKIP
  "Title: " myLibInfo:Title SKIP
  "ValidationPolicy: " myLibInfo:ValidationPolicy SKIP
  "Vendor: " myLibInfo:Vendor SKIP
  "VendorId: " myLibInfo:VendorID SKIP
  "Version: " myLibInfo:Version.
 
// Retrieve a custom attribute
MESSAGE "Custom1:" myLibInfo:GetValue("Custom1").