JSON to see 2 or more fields as additional Options in Simple List Widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2017 02:13 PM
I have cloned the Simple List widget as my own. I am using Incident as the table with Short Description as the main field shown. I am trying to configure the JSON to show 2 additional fields; Priority and Number. I can only get one field to show. The second field (or third, etc) is just a dot.
Here is my JSON. Is there additional JSON or configuration in the Widget instance that I need to set up to allow more than one field.
{
"secondary_fields":{
"value" : "number, priority", "displayValue": "number, priority"
}
}
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2017 02:27 PM
Are you using the widget editor dialog to configure the additional fields? I went to page designer, clicked the pencil to edit the widget added priority to an existing simple list and it works fine:
If I view my widget in the platform, this is what was set:
"secondary_fields": {
"value": "number,sys_updated_on,priority",
"displayValue": "number,sys_updated_on,priority"
},

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2017 02:52 PM
Hi Brian,
I think you need to remove the spaces after the commas.
Try this:
{
"secondary_fields":{
"value" : "number,priority",
"displayValue": "number,priority"
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2017 02:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2017 03:35 PM
Hi Brian,
I remember before I used to see the secondary fields option that Michael is showing
But now mine is same as yours.
I could not even find it in the configure layout for the form to add it as form field.
Not sure how it got changed yet.
I am running Istanbul patch 3a
-Fred