- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 02:22 AM
Hi everyone 🙂
I have a requirement, for displaying a variable in the list of the RITM on the Service Portal, displayed through Instance of Simple List.
I'd like to configure Display field, given that this variable should be displayed on the first position in my list, but it seems that I can't access to variables :
As a workaround, I'd like to add my variable in my secondary fields, like this :
it almost works, but I have strange behaviour, in red below :
Could anyone help me ?
Is it impossible to add my variable field as first element, without creating a field on ritm table, which would be synchronized with my variable ?
As a secondary field, why do I have such a behaviour ?
Thanks a lot for your help !
Regards,
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2022 07:10 AM
Hi,
Sooooo ...
I succeeded to add my variable in my list, but only as secondary element. Indeed, the first element can only be a field of the table, as said in this topic.
"secondary_fields": {
"value": "variables.object,......",
"displayValue": "variables.object,..."
},
(Note : "object" is the name of my variable)
I just faced an graphical issue, as mentioned in my first post, due to the fact that there was too much columns... My sys_updated_on column was graphically "merged" with the first column of my secondary fields...
I've also re defined the .col-md-2 CSS class in the simple list widget, in order to reduce the width :
.col-md-2 {
width: 13.667% !important;
}
Thanks to all for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 04:31 AM
Hello,
The first thing to note is that you will need a customer widget to do this. It's not available OOB because every RITM has different variables so there's no easy way to display them in a list.
You have to create a custom widget for this.
Please find the below thread where Chuck Tomasi confirms the same:-
https://community.servicenow.com/community?id=community_question&sys_id=d308c36ddb1cdbc01dcaf3231f9619d3
Please mark answer correct/helpful based on impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 04:50 AM
Thank you for spamming the thread and confusing user with same response 🙂 Please try to keep it clean wherever possible just a suggestion.
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 04:59 AM
Hello Prasad,
1) When I opened the thread there was no response. But I had open 3 or 4 threads together so by the time I posted on this and submitted you probably had answered it earlier.
2) How did I confused the users if I have answered the same thing not sure what you are referring to over here.
And if the confusion is who he will mark correct these are vey pretty things for me I am bigger than this
Thanks and Cheers 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 05:11 AM
I wish I could answer you but dont want to spam thread with unnecessary responses.
I have responded for more than hour now and you responded 30 mins back not sure how you didnt see my response. Infact when someone add the reply you will see it as immediate effect(working on community for more than 8 years now). Anyways you are champion and I appreciate your help/time you spend on thread but just a suggestion donot give duplicate or replies which will lead to same result. Its not about points or whose response is correct. We are all here to help and that should be only motive.
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2022 07:10 AM
Hi,
Sooooo ...
I succeeded to add my variable in my list, but only as secondary element. Indeed, the first element can only be a field of the table, as said in this topic.
"secondary_fields": {
"value": "variables.object,......",
"displayValue": "variables.object,..."
},
(Note : "object" is the name of my variable)
I just faced an graphical issue, as mentioned in my first post, due to the fact that there was too much columns... My sys_updated_on column was graphically "merged" with the first column of my secondary fields...
I've also re defined the .col-md-2 CSS class in the simple list widget, in order to reduce the width :
.col-md-2 {
width: 13.667% !important;
}
Thanks to all for your help.