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 display table record on catalog item form ?

Akki1
Tera Contributor

Hi,

Using catalog form I want to display records ? Any idea on this?

also I want to use that catalog item to just display specific table records.

Any inputs pls explain in detail???

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

We've done this a couple of different ways.  One way is to populate a Multi Line Text type variable with the text strings for each field label that you want from the table record, then the result of a getReference or GlideAjax for each field value, separated by '\n' so each label/value is on it's own row.  Then make that variable read only.  The other way is similar, but you have a variable for each field that you populate from the server call, then a UI policy to make them all read only.  You could also populate the fields in a mult-row variable set from the server call which would work/look better if there is more than one record to display.

find_real_file.png