Getting below error on portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2024 01:37 PM
When I open the demand form on draft or submitted state on the service portal I get the below error.
It's happening in Dev and QA.
Thanks for your help in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2024 07:54 AM
Hello Marshal,
I tried in Chrome and IE but still same error.
Below is the script do you think , you can point out any error .
Created UI policy Show parent field on demand Screen only to SN_Demand Admins and SN_Admin groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2024 08:10 AM - edited ‎04-12-2024 08:13 AM
It looks like you're using a script include ("CheckGroupMembership"), and specifying a function within the script include ("checkGroupMembership") - note, consider naming the class/script include differently than the functions within...unless it is a classless script include, which would be your problem if it is (classless script includes are not available client-side).
My guess is that the "checkGroupMembership" function (within that script include/class) that you call from the GlideAjax is then trying to call "getChannelRW" which may not be available to it.
Perhaps "getChannelRW" is in a server-side script include and failing because it is attempting to call it from the client-side script include (GlideAjax)....you'll need to copy and paste that function into the client-side script include or duplicate the script include which contains it, as a client-side script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2024 08:26 AM
Sure will try that
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2024 12:20 PM
Hello Marshal,
Also, I found out this under system log - errors
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2024 12:58 PM
Hello Marshal sorry pretty new to this, can you help me to achieve
this my requirement Show parent field on demand Screen only to SN_Demand Admins and SN_Admin groups, so i did below steps
Below is my script include