Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Calling External JavaScript Functions

Often, a single JavaScript function is useful for many different forms. Typical utility functions are reused commonly, such as functions for validating common types of input, or for making calls to external services, and so on.

It is not necessary to rewrite or copy these functions from one form to another. To facilitate reuse, common JavaScript can be placed in one or more JavaScript files external to the form. These JavaScript files are deployed to the server with your form files, and can be used by multiple forms in the browser client.

To use an external JavaScript file in a form, you need to add it to the form resources. Once added, the JavaScript files get deployed automatically when the form is deployed, and loaded at runtime before the form is loaded.

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 Business Studio™ - BPM Edition

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