how to display table record on catalog item form ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2022 03:09 AM
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???
- Labels:
-
Request Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2022 07:56 AM
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.