- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 01:05 AM
Hi Team,
While using a CCS, ( attached screen shot ) in which I have made a GlideAjax call, I am getting a error stating "There is a JavaScript error in your browser console". The values are getting populated in the back end instance while 'try it' but in portal it is throwing the error.
I need the data to populate the Catalog Item Fields on the Portal. Any suggestion as to how can I achieve this?
Regards,
Saurabh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 02:48 AM
It seems that g_user.getUserID() is not supported in Service portal
You can do one thing instead of sending it from front end, please get the loggedin user in the backend itself as gs.getUserID() (inside script include);
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 02:48 AM
It seems that g_user.getUserID() is not supported in Service portal
You can do one thing instead of sending it from front end, please get the loggedin user in the backend itself as gs.getUserID() (inside script include);
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 04:50 AM
Hi @Prince This worked! Thanks a lot!