UI Builder data resource

Steve Stivers1
Tera Contributor

I am working in UI Builder on Tokyo trying to create a grid of cards that contain information from Requested Items (sc_req_item).
I can get the cards and put information from the GlideRecord Query filtered RITMs in the cards.
But I cannot figure out how to access information from the variables on the RITMS in my data source. I only see the basic RITM fields not the catalog item variable fields.

Any help would be appreciated.

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee

If you use the Look Up Records data resource it should give you the option to specify variables in the return fields.

BradTilton_0-1677160553159.png

I generally use the Look up records over the GlideRecord Query DR. You can find out more about DRs here: https://www.servicenow.com/community/next-experience-articles/all-about-data-resources-in-ui-builder... 

View solution in original post

2 REPLIES 2

Brad Tilton
ServiceNow Employee

If you use the Look Up Records data resource it should give you the option to specify variables in the return fields.

BradTilton_0-1677160553159.png

I generally use the Look up records over the GlideRecord Query DR. You can find out more about DRs here: https://www.servicenow.com/community/next-experience-articles/all-about-data-resources-in-ui-builder... 

Steve Stivers1
Tera Contributor

That did it. Thanks. Still took some effort to figure out how to parse the variables into stylized text components.

 

Your youtube videos have been a big help while trying to learn UI Builder. Thanks.