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

AMOpenVault object

The AMOpenVault object is a client-side component that implements the Open Vault dialog. All stand-alone Meridian Enterprise applications should use this dialog to allow users to select a vault.

Members
Name Description

Caption property

The caption of the Open Vault dialog can be customized through this property.

SelectedVaultproperty

Reference to a description of the selected vault. See Remarks.

Show method

Displays the dialog (modal).

ShowDatastores property

Should be False.

ShowDateTime property

Set this property to True if the user should be allowed to open the vault in History mode.

ShowWorkPackages property

Set this property to True if the Open Vault dialog should display work areas.

Remarks

The SelectedVault property is an AMVaultLink object. It is set to the vault that the user selects from the dialog. It can also be initialized to set the initial focus in the Open Vault dialog.

See AMVaultLink object for a description of how to open the vault.

The Show method will display the Open Vault dialog. The dialog will be modal to the window whose handle is passed as argument. When the user has selected a vault, the method returns True.

Example
    Dim oOpenVault As New AMOpenVault
    Dim dr as AMDocumentRepository

    ' Initialize the dialog to show only vaults
    oOpenVault.ShowDateTime = False
    oOpenVault.ShowDatastores = False
    oOpenVault.ShowWorkPackages = False
      
    ' Show the OpenVault Dialog
    If (oOpenVault.Show(hWnd)) Then
        ' The user selected a vault
        Ser dr = oOpenVault.SelectedVault.CreateVault
    Else
        ' The user canceled the dialog
    End If

Copyright © 2000-2012 BlueCielo ECM Solutions