mbpm-documents

The <mbpm-documents> business component displays the case documents associated with either a selected work item or a specified case.

The <mbpm-documents> business component calls the CaseDocumentService.fetchDocuments operation to provide the list of case documents.

To customize the contents of the <mbpm-documents> business component, see Customizing a Business Component for more information.

Usage

<mbpm-documents
   case-ref="string"|selected-work-item="object"
   [template-path="string"]>
</mbpm-documents>

Attributes

Name Type Description
case-ref String The <mbpm-documents> business component displays the documents for this case reference.
selected-work-item WorkItem object The <mbpm-documents> business component displays the documents for the currently selected work item.
template-path String (Optional) The relative pathname for a custom template file to use in place of the internal template.
Note: case-ref and selected-work-item are mutually exclusive.

Example

The Mobile Case Manager application uses the <mbpm-documents> and <mbpm-document-upload> business components for the Case Documents button, which is one of the five navigation buttons on the bottom bar.