Include JavaScript files

In some cases, the client-side behavior of ARIS Risk & Compliance Manager is modified as part of a customization. For that purpose, JavaScript file can be added to the scope. The custom script files are included after the default ones, meaning that they can override previously defined objects and methods. These files are added to all pages.

Location

XML file in the xml folder

Procedure

  1. Copy the <includesGlobal> element from the default configuration to the customizing file.
  2. Create one or more <globalScript> elements within the <includesGlobal> element.
  3. Move JavaScript files to folder \js\custom\.
  4. Modify attributes of <globalScript> to match the file’s name.

Documents

globalstaticresources.xml, globalstaticresources.xsd

Example

AddCustomUIHeader

\WEB-INF\config\custom\xml\logo.xml: Change interface