- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 03:52 AM
Hi,
There are 2 fields Factory Name and Factory ID. Factory ID should be auto filled with the ID of Factory selected under Factory Name. To fulfil this, I created Glide Ajax. It is working good for snc_internal users, but not for snc_external users.
As snc_internal user:
As snc_external user:
Preview record is also working and displaying the fields(for both users).
Provided Read access on the Factory Table over table level and fields level. Even though its not populating the value, its returning null.
Can anyone please help me on this issue.
Thanks
Aruna
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:23 AM - edited 01-09-2024 05:24 AM
Hi @Aruna Sree Yela
Can you please create an ACL with roles snc_internal and snc_external as mentioned in the screenshot. Name would be your script include name.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:34 AM
Try and create an ACL to allow snc_external to be able to execute that script include. this should solve your issue
ACL should look like below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:19 AM
@Anurag Tripathi , @Utpal Dutta , @Saurabh Gupta
Many Thanks for the quick responses!!
There is no ACL under the Script Include
@Utpal Dutta , I tried the other way, even though I can't able to sort it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:23 AM - edited 01-09-2024 05:24 AM
Hi @Aruna Sree Yela
Can you please create an ACL with roles snc_internal and snc_external as mentioned in the screenshot. Name would be your script include name.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:34 AM
Try and create an ACL to allow snc_external to be able to execute that script include. this should solve your issue
ACL should look like below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 05:49 AM
Client callable script include cannot be directly called by snc_external role
in your client callable script include add the isPublic function along with your existing functions
isPublic: function(){
return true;
},
check this link
Privacy on client-callable script includes (instance security hardening)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader