Rendering a TIBCO Business Studio Form

The Forms Runtime Adapter is a JavaScript API provided as part of the BPM runtime.

A client application can use the Forms Runtime Adapter to display TIBCO Business Studio forms for work items, pageflow pages and business service pages.

To display a TIBCO form, the client application must:

  1. Load the Forms Runtime Adapter in the browser control. The Forms Runtime Adapter provides an API that will display the form.
  2. Pass in the URL of the JSON representation of the form.
  3. Pass in the JSON payload (representing the payload associated with the user task of the displayed form) that will be used to populate the form.
  4. Create action handlers for the Submit, Cancel and (if required) Close form actions. These will be used to notify the client application when that action takes place, passing back any updated data.
  5. Render the form using the Forms Runtime Adapter loadForm method.
Note: For more information about how to perform these steps, see the following references:

The Forms Runtime Adapter handles the user’s interaction with the form. When the user submits, closes or cancels the form, the Forms Runtime Adapter notifies the client application that this has happened (using the callback handler registered) and returns the data from the form.

Note: For more information about how to integrate use of the Forms Runtime Adapter with calls to the BPM services, see: