- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 01:33 AM
There is on change Catalog client script which will trigger when the request type field is changed. This client script will internally call script include.
While performing on change action ESC form I'm getting console error called (Only in STAGE environment)"Unhandled exception in GlideAjax. Cannot read properties of null (reading 'length')".
below this the client script:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:16 AM
The error is caused by the Glide Ajax not returning a value. Make sure the scope of the Script Include and ESC form are the same, or add the scope to the GA call. Also check the ACL on the SI to make sure it is accessible in this environment. And of course make sure there is only one SI with this name. You can add some gs.info or gs.addInfoMessage lines to the SI to confirm it is running, see the GR records found, etc. that should shed some light.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:16 AM
The error is caused by the Glide Ajax not returning a value. Make sure the scope of the Script Include and ESC form are the same, or add the scope to the GA call. Also check the ACL on the SI to make sure it is accessible in this environment. And of course make sure there is only one SI with this name. You can add some gs.info or gs.addInfoMessage lines to the SI to confirm it is running, see the GR records found, etc. that should shed some light.