5.1 Extensibility in JavaScript Coding

This topic provides an overview of extensibility in JavaScript Coding.

The developer can add code in hook packages and release specific JavaScript files.

For release-specific JavaScript coding, code has to be written in release specific JavaScript file. It follows the naming convention as (Function Id)_(Release Type).js.

For Example: Code in STDCIFD_CLUSTER.js is exclusive to cluster release.

This JavaScript file allows the developer to add functional code and is specific to release.

The functions in this file are generally triggered by screen events. A developer working in cluster release would add functions based on two categories:
  • Functions triggered by screen loading events

    Example: fnPreLoad_CLUSTER(), fnPostLoad_CLUSTER()

  • Functions triggered by screen action events

    Example: fnPreNew_ CLUSTER (), fnPostNew_ CLUSTER ()