- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2025 08:36 PM
I am using a script include to pull data onto a record producer, the scrip include is supposed to populate data into the Service Portal form if the users have a previous record, but I keep getting a null value in my alert message. I am using an onLoad client script to populate the record producer. It works under my account but it doesn't work if I impersonate or if I sign in as another user.
I've done this many times on the backend but not really on the front end, I feel as if it shouldn't be that different.
Script Include:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2025 09:01 PM
Hi @Maxwell3 ,
If it is working for you and not working while you impersonate then check for ACL role which is assigned while submitting the Script Include.
System Security -> Access Control (ACL)
ACL type: Client Callable Script Include
Name is your script include
Then look for role if it is admin then your script include will execute for users having admin hence change the role and assign a generic role which all the users will have. Like ITIL etc.
If my response helped, please hit the Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2025 09:01 PM
Hi @Maxwell3 ,
If it is working for you and not working while you impersonate then check for ACL role which is assigned while submitting the Script Include.
System Security -> Access Control (ACL)
ACL type: Client Callable Script Include
Name is your script include
Then look for role if it is admin then your script include will execute for users having admin hence change the role and assign a generic role which all the users will have. Like ITIL etc.
If my response helped, please hit the Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2025 03:45 AM
Hi @Maxwell3 ,
Hope you are doing good.
Did you check my response above.
If my response helped, please hit the Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2025 11:26 AM
Thank you Rohit for your answer. It was set to 'Admin', I set it to a more generic role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2025 11:47 AM - edited ‎04-04-2025 11:47 AM
@Maxwell3 Glad that I was able to help you. Request you to also hit thumbs on my response.
Regards,
Rohit