[
{
"category": "All Cases",
"table": "sn_customerservice_case",
"view": "Case",
"card_view_primary_column": "number",
"card_view_secondary_column": "short_description",
"card_view_additional_columns": "product|priority|state|contact",
"glyph": "th-list",
"target_page_id": "csm_ticket",
"sub_categories": [
{
"sub_category": "Open",
"sub_category_query": "active=true"
},
{
"sub_category": "Closed",
"sub_category_query": "active=false"
}
],
"run_time_filters": [
{
"column": "priority",
"selection_type": "single_select",
"values": [
{
"label": "1-Critical",
"value": 1
},
{
"label": "2-High",
"value": 2
},
{
"label": "3-Moderate",
"value": 3
},
{
"label": "4-Low",
"value": 4
}
]
},
{
"column": "state",
"selection_type": "multi_select"
},
{
"column": "contact",
"selection_type": "multi_select"
},
{
"column": "sys_updated_on",
"selection_type": "single_select",
"ranges": [
{
"label": "Last month",
"query": "sys_updated_on>javascript:gs.endOfLastMonth()"
},
{
"label": "Last 3 months",
"query": "sys_updated_on>javascript:gs.beginningOfLast3Months()"
},
{
"label": "Last 6 months",
"query": "sys_updated_on>javascript:gs.beginningOfLast6Months()"
}
]
}
]
},
{
"category": "Actions Needed",
"table": "sn_customerservice_case",
"view": "Case",
"card_view_primary_column": "number",
"card_view_secondary_column": "short_description",
"card_view_additional_columns": "product|priority|state|contact",
"filter": "stateIN6,18",
"glyph": "check",
"target_page_id": "csm_ticket"
},
{
"category": "Work Orders",
"table": "wm_order",
"card_view_primary_column": "number",
"card_view_secondary_column": "short_description",
"card_view_additional_columns": "priority|state",
"glyph": "briefcase"
}
]
For more information, see
Portal Data List widget JSON parameters.
Each category in the widget displays a list of filtered records from a selected table. The default table is the Case [sn_customerservice_case] table. In a category, you can further
filter the records and display them in tabs using the pre_defined_filters parameter. You can also configure the filter options displayed in the filter icon using the run_time_filters
parameter.