CAUTION Customers should only use the ISelectObjectCmd2::Initialize2 method in new development, as well as replace existing implementations of the ISelectObjectCmd::Initialize method with ISelectObjectCmd2::Initialize2 . The following information describes the method as it was defined in FileNet P8 3.0.0 and is provided for informational purposes only. FileNet does not support development with the ISelectObjectCmd::Initialize method in FileNet P8 3.5.0 or later.
The Initialize method customizes the Select Item Java™Server Pages (JSP) page in preparation for use by the SelectObject operation, by allowing the client application to filter the list of selectable items that are presented to the user (based on object type and MIME type), and to specify the page title.
void spISelectObjectCmd->Initialize(_bstr_t bstrPageTitle, SelectItemMode enMode, VARIANT vMimeTypes);
eFoldersAndDocumentsMode
, select either a document or a
folder.
eDocumentsOnlyMode
, select only a document.
eFoldersOnlyMode
, select only a folder.
eAllObjectTypesMode
, select any type of object, including
documents and folders.
VT_EMPTY
should
be specified.