Open topic with navigation

TIBCO® BPM Enterprise 5.5.0

# Injecting the Forms Runtime Adapter in the Browser

The Forms Runtime Adapter is hosted by the BPM runtime. To use this, you first need to load the Forms Runtime Adapter file on the page. This is typically done via a `<script>` tag in the `<head>` section of the HTML document.

    <script src="http://<host-name>:<port>/apps/bpm-forms/formsclient/formsclient.nocache.js"/>

Once the JavaScript API loading is complete, it notifies the client application by invoking a function called onTIBCOFormRunnerLoad. The client application can define this function on the page and receive notification of the availability of com.tibco.forms.client.FormRunner.

For example:

    function onTIBCOFormRunnerLoad() {
        // Forms Runtime Adapter is now available for use on the page.
        // com.tibco.forms.client.FormRunner.loadForm() or the custom
        // element named 'tibco-form' can be accessed from now on
        // to load the form.
    }

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® BPM Enterprise

Copyright © 2015-2024. Cloud Software Group, Inc. All Rights Reserved.