Receiving this error "Javascript Error in Browser Code" in the Portal for one of the catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:07 AM
Hi, I am receiving this error "Javascript Error in Browser Code" in the Portal for one of the catalog item for those who don't have any roles. I am the admin or anyother with itil role does not see this error but the ones without any roles get stuck with this error on the browser.
I have created an onload Client Script for the catalog item.
Below is the code:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:24 AM
Here is the script include I created. If you could find any error in code happy to update it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:27 AM
I doubt there's an error in the script itself, since it works for some users, so the issue is that unrolled users can't call it, likely due to an ACL on the Script Include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:23 AM - edited ā10-06-2023 06:26 AM
Hi,
Provide snc_internal or public role to ACL of client callable script include.
I faced similar and it solved the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:29 AM
These 2 only I can see. which one to give?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-06-2023 06:36 AM
Providing the Public role to Client Callable SI worked! Thank you