Can I Use GlideRecord into UI Action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 07:07 AM
Hi guys,
I have a UI Action client-server. Can I use GlideRecord object? It's a good practice or I have to use GlideAjax with Script Include?
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 07:08 AM
Hi Gaetano,
Yes, you can use GlideRecord in the client portion of your UI action. Best practice is to use GlideAjax when possible. It's more efficient in almost all cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 07:21 AM
Sorry,
GlideRecord even work in client portion?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 07:22 AM
It should. Are you running in to issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 07:30 AM
My priority is query a custom servicenow table from UI Action and my doubt is:
- What is the scope of the GlideRecord Object?
- Better to use GlideAjax for my problem?
Thanks,