Can we display a static list on a catalog item form ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a requirement on a catalog item which updates service instances. I need to display all the relationships available in svc_ci_assoc table . Do we have feature that helps display a static list on the catalog form . Is there any better method to achieve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
What we do is use a custom catalog variable and used a ui macro and a widget to display a note. It pulls the data from the instructions field. If the table data is static, then you could just enter the values. If you're looking for it to be populated dynamically then you may need to do a query in the widget server side logic to fetch the data. That's how we display instructions or custom notes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can use HTML type variable and display the static data in tabular format etc as per your business requirement
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Is there any reference to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @AnciaM,
I tested this using an HTML type catalog variable.
I created a simple HTML table and displayed it on the catalog form. It worked successfully in both the Classic Catalog UI and the Service Portal, making it a good option for displaying static information.
However, if your requirement is to display the records from the svc_ci_assoc table, an HTML variable is suitable only if the data is static. If the relationships need to be retrieved dynamically and stay up to date, a custom Service Portal widget