- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 02:25 AM - edited 12-15-2022 02:45 AM
Hello All ,
I have used glide record to popup details of table in client script
when we select caller then email of caller ,company name value appear on respective caller and company field.
Thank You.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 09:02 PM
Hi @Sagar_pawar ,
GlideRecord is not recommended on Client script.
GlideRecord is server side API if you want go get some data or validate from the server use GlideAjax API.
Refer below link to understand the GlideAjax API in client script.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 09:07 PM
Hi ,
You cannot used Glide Record on a Client script.
What you can do is create a script include which is client callable and used it in your client script.
Hopes this helps you.
Regards,
Edgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2022 08:57 PM
Hi @Sagar_pawar ,
If my response helped you to resolved the issue then close the question by Accepting solution and hit thumb icon. From Correct answers others will get benefited in future.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar