Client Scripts Should Not Use Unsupported Scripting APIs

< 1 min read

Impact Area

Manageability

Severity

High

Affected Element

Client Scripts

Rule ID #

SN-0304

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

Updated on March 21, 2025
Was it helpful ?