- 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 02:53 AM
@Sagar_pawar Its not best practice to use GlideRecord in client script. Instead you can use GlideAjax.
GlideAjax doc link: https://docs.servicenow.com/en-US/bundle/tokyo-application-development/page/script/ajax/topic/p_AJAX...
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 03:10 AM
Hi Abhi,
Its not best practice,
The client side GlideRecord object is often inefficient, because it returns lots of unnecessary data.
pls reffer this link
Please mark as correct answer if this solves your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 03:19 AM
Use Script Include.
- 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