
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 10:55 PM - edited 04-20-2023 12:38 AM
Hi All,
Does script includes in UI Builder won't support GlideRecords?
Thanks,
Raghu
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 01:08 AM
@Community Alums
No, you will only have client side script inlcudes, can't use GlideRecord.
Below article should be helpful:
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 11:06 PM
Hi @Community Alums
Below details should help:
CLIENT SCRIPT INCLUDES
As a long-time ServiceNow developer when I hear the term script include I automatically think “server-side reusable script”, but in UI Builder only half of that is true. Client Script Includes [sys_ux_client_script_include] in UI Builder are reusable client-side scripts that can be called from any client script. As you scale your Now Experience UI Builder pages I think these client script includes will come in handy, and you should treat scripting in UI Builder like anywhere else on the platform where you make your scripts modular and reusable.
Ref link
https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-client-scripts/
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 12:39 AM
Hi Aman,
Thanks for the update. I've gone by this blog already. Does this mean UI Builder Script Include doesn't support GlideRecord()?
Thanks,
Raghu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 01:08 AM
@Community Alums
No, you will only have client side script inlcudes, can't use GlideRecord.
Below article should be helpful:
Aman Kumar