Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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