Gets a work area template object.
Syntax
Function GetWPTemplateByName(
Environment As AMEDMEnvironment,
InternalName As String,
[Create As Boolean = True]) As AMWorkPackageTemplate
| Name | Description |
|---|---|
|
Environment |
A reference to the environment of the vault. |
|
InternalName |
The internal name of the required template. |
|
Create |
If this parameter is True,the interface extension designer will create the template if it does not exist. |
Remarks
Use this method in AfterRegisterExtension event to assign an extension to a work area template.