Hi Tom,

 

Can you please let me know if you could find any component does this in UI builder? to evaluate and display the records in rows, columns

Joseph Testa
Tera Contributor

Hi Tomasz, I'm not looking for a component as much as a way to save several state parameters within a JSON object. On a complex page there can be a lot of state parameters and it would help to organize them by using objects to combine related parameters. I found that doing something like this seems to work but I don't know why it works or if it is correct practice. My current solution below seems like the object's variable needs to be set twice for it to actually take the value.

 

var tempObject = api.state.myObject;
tempObject.default_search_criteria = "test123";
api.setState('myObject.default_search_criteria', "test123");

Bernard Esterhu
Tera Expert

We also need to visualise JSON data in a list view - this is a feature that would be very useful!!

Discover a couple of my favorite dictionary attributes to make JSON fields easier to read and what to do about long strings in a list. #servicenowdyk #servicenowdeveloper

@Jay Gamblin thanks for this link, but this talks about importing data into a table. I need to display data in a JSON format in a list view in UI Builder.