Adding variable to the list view of a custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 03:06 AM
Hi Community,
I just want to check if adding the catalog variable to the list of a custom table is possible? I have seen some posts here in the community that they are able to add the catalog variable in the list view by creating new view and then create the list/list element following variables.sys_ID [https://community.servicenow.com/community?id=community_question&sys_id=f8270329db1cdbc01dcaf3231f96198c]. This solution works if I create it in the sc_req_item table. I can see the variable and I can add it. But when I tried to create in the custom table following the same steps it is not working. The variable is still not showing and can't be added in the list view.
Can somebody advise if that is doable in custom table? If not, are there any alternative solutions so that I can add the catalog variable in the custom table list view? Thanks in advance.
Regards,
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 03:25 AM
Hi Ramel. If I'm understanding the requirement correctly, you'll need to create a new Formatter for your custom table. Search 'formatters' in your menu filter. Open the link and find the existing one called 'Variable Editor'. You'll find two. Open the one for Requested Item. Change Table to your custom table and do Insert and Stay. You can now add the variable editor to your custom table form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 03:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 03:58 AM
Hi, You are able to do it in RITM table because RITM holds the variables values in it and we can access it.
But if your custom table do not hold the variable values then it is not possible to show the variable in list of your table.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2022 04:08 AM