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.

How to fetch values from script include to ui page in tabular format?

Naveen Kokkirap
Tera Contributor

Hello Team,

 

i have a script include where it is returning some values in a JSON and i need to create a table(tabular format with rows and columns) with those in a ui page

 

for ex --

Script_Include()

 

get _Values : function(){

        

return (Value);

 

let 'Value' returns like below

 

[{"student : Swetha"}, {"student : Navya"}, {"student : anu"}, {"student : kamal"}, {"student : krish"},]

 

 

output expected ---

 

Student
Swetha
Nadya
Anusha
Anucha

 

 

5 REPLIES 5

Hi @ Sohithanjan G

 

Note: "student" is the string value it is not any field in any specific field

 

so i want to know how to use those values and create a table

 

just assume that the array  holds some string value so push them to ui page