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

AMObjectBrowser object

The AMObjectBrowser object is a client-side component that implements the browser dialog for an object in Meridian Enterprise.

Members
Name Description

Caption property

The caption of the dialog.

Description property

The description text.

Options property

Reserved. See About reserved objects, methods, and properties .

Repository property

Initiate this property with AMDocumentRepository. See Remarks.

SelectedItemID property

The object ID that the user selects from the dialog.

SelectedVault property

Initiate this property with AMVault.SelectedVault. See Remarks.

Selection property

An array of object IDs for multiple selection dialog type.

SelectObjectDlg method

Displays the dialog. See Remarks.

Remarks

You can initiate the dialog with either AMDocumentRepository or AMVault.SelectedVault. See _AMOB_DLGTYPES constants for possible dialog types.

Example

Private Sub Doit(ByVal dr As AMDocumentRepository)
    Dim oBrowser As New AMObjectBrowser
    oBrowser.Caption = "Select"
    oBrowser.Description = "Please select a folder"
    Set oBrowser.Repository = dr
    ' Show the select dialog
    If (oBrowser.SelectObjectDlg(AMOB_DLGTYPE_FOLDER, Me.hWnd) Then
    ' The user selected a folder
    MsgBox "Selected folder ID: " & oBrowser.SelectedItemID
    Else
    ' The user canceled the dialog
    End If
End Sub

Copyright © 2000-2013 BlueCielo ECM Solutions