Document Explorer
The Document Explorer view displays and supports various actions in the folder structure of a process instance.  Depending on the structure of the process folders, this can include showing documents in the BPM content store and any other referenced ECM folders and documents. The Document Explorer view gives users the ability to search, create, delete and rename folders, when authorized.  The view also allows users to upload, view, checkout and remove documents when authorized.

Content management advanced

Appearance

Behavior

Content management

Extends:
com.ibm.bpm.coach.CoachView
Methods:

Inherited addClass(name, [replaced])
Add or replace the CSS classes for this view.
Example

createCustomMenus(data, view)
Creates and configures custom and standard action menu items for the selected document or folder.
This method evaluates the item's type and permissions, then dynamically builds a list of applicable menu options.
When an action is selected, a custom event is triggered for further handling.

createFolder(parentFolderId, newFolderName, serverName)
Creates a new folder in the specified folder path and server.

getActionIcon(menuAction, cellData, [iconInfo]) Returns: {string}
Determines the icon to be displayed for a given menu action.
If an icon is explicitly defined in the custom actions, it is used; otherwise, a default is selected based on the action type and whether the item is a reference.

getActionLabel(menuAction, labelInfo) Returns: {string}
Determines the display label for a given menu action.
If a label is explicitly defined in the menu action, it is used;
otherwise, a localized label is generated using the provided label key.

Inherited getData() Returns: {Object}
Retrieve the bound data associated with the view. It applies only to views with bound data.
Example

getFolderId() Returns: {string}
Returns the value of the 'Folder ID' option that is currently configured in the view.

getInstanceId() Returns: {string}
Returns the process instance ID that is currently configured in the view.

getRecordCount() Returns: {integer}
Returns the number of records that are currently displayed in the list.

getRefresh() Returns: {boolean}
Returns the value of the 'Refresh trigger' option.

getServerName() Returns: {string}
Returns the server name that is currently configured in the view.

getTitle() Returns: {string}
Returns the title of Document Explorer.

getType() Returns: {string}
Returns the descriptive string that represents the control type.

handleStandardActions(data)
Executes predefined standard actions based on the selected menu option.
This method is invoked when a user selects a standard action from the custom actions menu.
It routes the action to the appropriate internal handler.

Inherited hide(collapseFlag)
Hide the view.
Example

Inherited isBound() Returns: {boolean}
Indicate the bound status of the view.

Inherited isEnabled() Returns: {boolean}
Check whether the view is enabled.
Example

Inherited isLabelVisible() Returns: {boolean}
Check whether the view label is visible.
Example

Inherited isValid() Returns: {boolean}
Return the valid status as last set by the setValid() method.
Example

Inherited isVisible() Returns: {boolean}
Check whether the view is visible.
Example

Inherited propagateUpValueChange(event) Returns: {boolean}
Propagate the value change of the view up through the parent views.
Example

Inherited recalculate()
Applicable only to formula-enabled views!
Triggers the re-evaluation of the formula
for the view, if a formula was specified. If the view is not formula-enabled, recalculate() does nothing.
Example

refresh(isNewRoot)
Refreshes the Document Explorer list.

Inherited setEnabled(enabled, required)
Enable or disable the view.
Example

setFolderId(folderId, startRefresh)
Sets the root folder ID for Document Explorer.

setInstanceId(instanceId, startRefresh)
Sets the process instance ID for Document Explorer.

Inherited setLabelVisible(visible)
Show or hide the view label.
Example

setRefresh(refresh)
Sets the value of the 'Refresh trigger' option. If the value is 'true', the Document Explorer content is refreshed and the trigger value is reset to 'false'.

setServerName(serverName, startRefresh)
Sets the server name for Document Explorer.

setTitle(title)
Sets the title of Document Explorer.

Inherited setValid(valid, errorText)
Flag the view as valid or invalid.
Example

Inherited setViewData(data, createPseudoBinding)
Set or update the bound data associated with the view. It applies only to views with bound data.

Note: It should only be used with simple type bindings, or complex type bindings with simple type properties.
It should not be used with bindings that have properties that are lists or compext types. For complex types, set the bindings by using
the binding.set pattern, as described in the Binding data and configuration options documentation section.
Example

Inherited setVisible(visible, collapse)
Show or hide the view.
Examples

Inherited show()
Show this view.
Example

Inherited triggerFormulaUpdates([phase])
Broadcast the expression trigger for the specified view.
Example