What Role Is Required To Make A Client Side Ajax Call?

James Rogers
Tera Contributor

I created a client-side script in a service offering that makes an Ajax call to a script include. Is there a particular role the user must have for ServiceNow to allow the client-side and server-side scripts to communicate with each other? The server-side script runs under the admin role. (I will downgrade the server-side role to something less powerful once the scripts are talking). 

 

 

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @James Rogers , 

As the script include has client calable checked, system must have prompt to selecte role. Check if system has some comman role like "snc_internal" then you can select it, this will create an ACL. 

 

Refer this post:

https://www.servicenow.com/community/now-platform-articles/privacy-on-client-callable-script-include...

 

-Thanks,

AshishKM

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution