Rendering a TIBCO Business Studio Form
The Forms Runtime Adapter is a JavaScript API provided as part of the 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:
- Load the Forms Runtime Adapter in the browser control. The Forms Runtime Adapter provides an API that will display the form.
- Pass in the URL of the JSON representation of the form.
- 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.
- 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.
- Render the form using the Forms Runtime Adapter loadForm method.
Note: For more information about how to perform these steps, see the following references:
- Integrating TIBCO Forms with Custom Client Applications provides detailed information about the Forms Runtime Adapter and how to use it.
- Rendering a TIBCO Business Studio Form provides an example of how to use the Forms Runtime Adapter in a custom client application that uses the web service API to access BPM services.
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.
Copyright © Cloud Software Group, Inc. All rights reserved.