- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
By default, client-callable script includes that do not explicitly set visibility, are public.
glide.script.ccsi.ispublic property is to enable privacy control over all client-callable script includes accessed by public pages.
But when we add this property to false changes their visibility in public pages making all client-callable script includes private. Unable to call those script includes from public pages.
Workaround:
If we want the client callable script include to be accessed by public,
You can change the privacy setting for an individual client-callable script include by adding the isPublic() function in the script include code.
The isPublic() function takes precedence over the glide.script.ccsi.ispublic property. Add the following syntax to the script include before defining function. This workaround enables client callable script includes accessible by public pages.(External user)
isPublic: function() {
return true;
},
If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL
Best Regards,
Prashant Kumar (LearnIT)
YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant
Blog LearnIT: https://medium.com/@LearnITbyPrashant
Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/
ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635
- 1,541 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

