BlueCielo Meridian Asset Management Module 2013 Administrator's Guide | BlueCielo ECM Solutions

You are here: Appendix F: VBScript reference > AMMTagsManageLinksIsAllowed function

NEW  AMMTagsManageLinksIsAllowed function

User-defined function that controls activation of the Manage Links button in the Manage Document Links dialog box. The button is enabled if this function is not defined or returns True. The button is disabled if this function is defined and returns False.

Syntax
Function AMMTagsManageLinksIsAllowed()
Parameters

This function accepts no parameters.

Example
Function AMMTagsManageLinksIsAllowed()
  ' The current document is a proxy document
  ' Search for main tag
  Dim TagObject
  Set TagObject = FindDoc(Document.ParentFolder.ID, "_O", ".obj", "Object")    
  ' If main tag was not found, use proxy document.
  If TagObject Is Nothing Then
    TagObject = Document
  End If
  ' Allow editing when document is not released.
  AMMTagsManageLinksIsAllowed = TagObject.WorkFlowState <> AS_WF_RELEASED
End Function

Remarks

If the vault uses proxy documents for folder linking, the function must implement logic that determines whether the current document is a proxy document or is a main tag document as shown in the preceding example. For more information about folder linking, see NEW Configuring linking to folders.

Related concepts

VBScript reference


Copyright © 2000-2013 BlueCielo ECM Solutions

www.bluecieloecm.com