How do I get Variables from a Requested Item into a UI Builder Data Resource?

Jordan Humphrey
Tera Expert

Hello! I am building a page for the first time in UI Builder, and I want to be able to bind a few labels to variables on a requested item that I'm looking up.

I find that the "Return Fields" option under the Look up a Single Record resource option does present "Variables" at the bottom, but unfortunately it displays literally every variable on the Instance with no way to filter down to a specific catalog item. Is there a better way to approach this?

 

JordanHumphrey_0-1763006456514.png

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Jordan Humphrey 

you will have to select the correct variable name as OOTB there is no way to drill down to catalog item.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Anand2799
Tera Guru

Hi @Jordan Humphrey ,

 

Currently there is no way to search variable based on catalog item, however you can use browser search feature to search for the catalog item and use the up and down button to see variables one by one.

 

Anand2799_0-1763023797681.png

 

Thanks

Anand