logo

NJP

ServiceNow AJAX Client Script Include not working for user with no roles

ServiceNow Blog · Nov 28, 2024 · article

ServiceNow AJAX Client Script Include not working for user with no roles

reproducible when impersonating that user

solution: include this snippet in the client callable script include

isPublic: function() {

return true;

},

otherwise you may get a javascript error in browser console message and the AJAX function call will return null

View original source

http://www.cloudminus89.com/2024/11/servicenow-ajax-client-script-include.html