Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

UI Builder get table data

sbfield
Tera Contributor

In UI Builder, I want to pass data from a table to the Stylized Text Component (example: "project_name") . I have a filter which I use for in several pie charts to display projects by name.

 

There are two options I can use:

Data or Script

 

With the data option, I can only return the first item in an array (which is shown in many SN examples)

@Data.tableName.results.0.project_name.displayValue
 
 
However, this option isn't suitable since it isn't configurable  so I can't apply my filters.
 
How can I get the project name from my table and display it in the component?
 

 

 

 

 

0 REPLIES 0