BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

AddExtensionToDocumentType method

Assigns an extension to all documents of a document type.

Syntax
Sub AddExtensionToDocumentType(
          Environment As AMEDMEnvironment,
          ExtensionRef As AMComRef,
          DocumentType As AMDocumentType,
          [ProgID As String])
Parameters
Name Description

Environment

A reference to the environment object of the vault

ExtensionRef

The extension that needs to be assigned

DocumentType

The document type to which the extension is assigned

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

About extendable objects

AddExtensionToWPTemplate method

AddExtensionToClass method

GetDocumentTypeByName method

Copyright © 2000-2012 BlueCielo ECM Solutions