- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 12:50 AM
Hello people!
I have a Script Include that returns a value to a Catalog Client Script and puts it in a field on the Portal, this works fine for admin users, but when I impersonate the real requester it doesn't work and the value returned is always null.
any help would be really appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 09:54 AM
The solution to my question was is that I needed to create an ACL of type " client_callable_script_inclue" and added a role "snc_external"
screen shot will follow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 12:54 AM
Hi there,
What kind of data should be returned? The query that is performed, retrieving some kind of data, does the non-admin user have read rights for this?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 01:03 AM
Hello!
thanks for the reply, well the thing is that the script include only returns a string " Hello World! " and still as a non admin user that string is displayed Null.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 01:15 AM
So how does the script include and catalog client script looks like?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 09:57 AM
Thanks Mark for your help.
the solution was is that I needed to create a Client Callable Script Include ACL
Best Regards