Catalog Client Scripts should not use unsupported scripting APIs

Impact area

Manageability

Severity

High

Affected element

Catalog Client Scripts

Rule number

SN-0305

Impact

A number of JQuery and Angular API calls and global variables are not supported in client script code which runs as part of the Service Portal, or in the Mobile UI. Trying to use them in Client Scripts where the UI Type is not "Desktop" will result in run time errors.

Remediation

Understand which Client Scripts will run as part of the Service Portal user interface, and which APIs are available in each case. Remove any unsupported API calls from your code.

Time to fix

60 min




Last modified on Dec 23, 2022