Assigns an extension to all work areas created from a specific template.
Syntax
Sub AddExtensionToWPTemplate(
Environment As AMEDMEnvironment,
ExtensionRef As AMComRef,
WorkPackageTemplate As AMWorkPackageTemplate,
[ProgID As String])
Name | Description |
---|---|
Environment |
A reference to the environment object of the vault |
ExtensionRef |
The extension that needs to be assigned |
WorkPackageTemplate |
The template of the work areas that should use the extension |
ProgID |
Reserved. See “About reserved objects, methods, and properties.” |
Remarks
The functionality of the extension may depend on another extension being available. In this case, you can use the optional ProgID argument. It should describe the other extension component (<LibraryName>.<ClassName>).
Related information
AddExtensionToDocumentType method