- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 05:37 AM
Hi everyone,
I am trying to lookup a system property (sys_properties table) in UI Builder.
I tried with the data resource "Look Up Properties" but I guess it looks for properties of the experience not the system, so I'm getting a null as a result.
I also tried with the data resource "Look Up Record" but I cannot select the correct table (sys_properties).
Is anyone more successful than me and can show me how to do it?
Thanks.
Solved! Go to Solution.
- Labels:
-
Now Experience UI Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 06:29 AM
Hi Elena,
The Look Up Properties composite data resource is restricted to looking up properties defined in the glide.graphql.property.whitelist system property, which is not editable by customers right now.
You can create a transform data resource that will do this. Transform data resources let you execute server-side code and make the results available in UIB. If you go this route, don't forget to create an ACL for your DR. You can find out more about transform data resources here: https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-data-resources/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 05:43 AM
Hi Elena , use below method to get the property value
gs.getProperty('property name');
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 05:57 AM
Hi Rohila,
where should I use it in UI Builder? I cannot call gs in a Client Script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 06:29 AM
Hi Elena,
The Look Up Properties composite data resource is restricted to looking up properties defined in the glide.graphql.property.whitelist system property, which is not editable by customers right now.
You can create a transform data resource that will do this. Transform data resources let you execute server-side code and make the results available in UIB. If you go this route, don't forget to create an ACL for your DR. You can find out more about transform data resources here: https://developer.servicenow.com/blog.do?p=/post/quebec-ui-builder-data-resources/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2021 07:05 AM
Thanks, it worked.