- 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:14 AM
Hi
It is not possible OOB. You need to have custom widget for it as per my understanding.
See the response from Chuck below
https://community.servicenow.com/community?id=community_question&sys_id=d308c36ddb1cdbc01dcaf3231f9619d3
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 05:16 AM
I have deleted my reply.
Let's move on
Cheers:)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 05:24 AM
No worries 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 07:10 AM
Thanks, Prasad.
I've read Chuck's response, and I'm ok with it.
But how could we explain the behaviour when I try to add my variable in the secondary field ? It's as if sys_updated_on field was loaded in my list ...
I'm disappointed, because it almost works, I do have my variable value in my list, for each of my RITMs, but with sys_updated_on data... 😞