Change a Shared JavaScript Code Snippet

To change a JavaScript code snippet you can use in all eForms in the application, do the procedure in this topic.

Shared Form JS Screen



Examples

  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Good to Know

  • If you create a new version of an application, and change shared JavaScripts or CSS at the application level, when you publish the new version, the changed JavaScripts or CSS apply to all versions of the application, including all process instances. This rule does not apply to custom JavaScripts and CSS created in an eForm. If you want to use different versions of JavaScripts and CSS for different versions of an application, you can specify the scripts in your eForms, instead of specifying them at the application level.

How to Start

  1. On the Application Explorer screen, do one of these:
  2. On the eForm Builder screen, click JavaScript JavaScript icon.
  3. Click Shared JavaScript Shared JavaScript icon.

Procedure

  1. On the Shared Form JS screen, select your JavaScript to change.
  2. Click Edit Edit icon.
  3. On the JavaScript Code screen, change your JavaScript code as necessary.