mbpm-case-data

The <mbpm-case-data> business component displays the case data for a specified case.

The <mbpm-case-data> business component calls the CaseManagementService.getCaseData operation. This operation calls the CaseManagementModel.caseDataTree object.

To customize the contents of the <mbpm-case-data> business component, see Customizing a Business Component.

Usage

<mbpm-case-data
   case-ref="string" | case-data-array="array"
   [config="object"]
   [template-path="string"]>
</mbpm-case-data>

Attributes

Name Type Description
case-ref String The <mbpm-case-data> business component displays the case data for this case reference.
case-data-array Array

A previously populated CaseManagementModel.caseDataTree object that contains the case data to display.

Note: The use of this attribute does not call the CaseManagementService.getCaseData operation.
config Object (Optional) The configuration object that allows the parent controller to refresh the view.
template-path String (Optional) The relative pathname for a custom template file to use in place of the internal template.
Note: case-ref and case-data-array are mutually exclusive.

User Interaction

The <mbpm-case-data> business component displays the case data as a read-only form, and as a hierarchy. The user cannot modify any of the fields.

Example

The Mobile Case Manager application uses the <mbpm-case-data> business component as part of the Data window, which also uses the <mbpm-case-actions> and <mbpm-case-states> business components. The Data window opens when the user clicks on an available Case, or clicks the Data button, which is one of the five navigation buttons on the bottom bar.