Creating the onTIBCOFormRunnerLoad Function

openworkitem.jsp must contain a function called onTIBCOFormRunnerLoad. The Forms Runtime Adapter automatically searches for and runs this function as soon as it has loaded.

The name of the function must be onTIBCOFormRunnerLoad. If you use a different name, the Forms Runtime Adapter will not be able to call the function and hence, the form will not load.

function onTIBCOFormRunnerLoad(){ 
    loadForm();
}
After the Forms Runtime Adapter is available for use, the loadForm() function calls the com.tibco.forms.client.FormRunner.loadForm() API. The parameters passed to the API are fetched from the openworkitem.jsp file.
com.tibco.forms.client.FormRunner.loadForm(
formIdentifier,
dataPayLoad,
formVersion,
"en_US",
"BSForm",
onFormLoadSuccess,
onFormLoadError,
false);

For more information on the onTIBCOFormRunnerLoad function, see onTIBCOFormRunnerLoad.