mbpm-document-upload

The <mbpm-document-upload> business component uploads a document from the file system for a case instance.

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

Usage

<mbpm-document-upload
   case-ref="string"
   [config="object"]
   [template-path="string"]>
</mbpm-document-upload>

Attributes

Name Type Description
case-ref String The <mbpm-document-upload> business component uploads a document for this case reference.
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

User Interaction

The default component template displays Choose File and UPLOAD buttons for a user to select and upload the desired file.

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.