Running the BPM CMIS Sample in Preview

You can use the sample project without needing to deploy it to TIBCO ActiveMatrix BPM, using the Preview facilities of TIBCO Business Studio.

Procedure

  1. Ensure that TIBCO ActiveMatrix BPM is installed and running.
  2. Select Forms > Parent > Parent.form.
  3. Click the GWT Preview tab.
    Two JSON forms are created:
    • Parent.data.json is created in the same directory as parent.form.
    • CMIS.data.json is created in the same directory as the embedded cmis.form.
  4. Make a copy of each of these .JSON files, in the same folder as the original.
    Note: A warning dialog is displayed if you try to edit an original generated JSON file. You should always copy the generated file and edit that instead.
  5. Configure the application as described in Configuring the BPM CMIS Sample Application by changing the default values in your copies of both Parent.data.json and CMIS.data.json to the correct values for your BPM installation and the CMIS repository (or repositories) you are connecting to.
  6. Select Forms Parent Parent.form to open it.
  7. On the Preview Data tab of the Properties view, for Preview Data File:, select the Custom radio button.
  8. From the drop-down list, select your copy of the Parent.data.json file - in this example, called Copy of Parent.
  9. Select the GWT Preview pane on the form.
    The form is populated with the list of documents provided by the ECM system. In this sample, that means that the sample documents provided for both Sharepoint and Alfresco are displayed.

  10. Select a document.
    The Document Attributes fields are populated with that document’s properties.

  11. Double-click on the link to a sample document in the Document field. (In some environments you need to right-click the link and select Open.)
    The document is downloaded to your computer.