Add a Portal Case Cards widget to your portal and modify its data, presentation, and behavior. You can use the Portal Case Cards widget to display
status, priority, and other relevant details related to your cases.
Procedure
-
Navigate to the .
-
Select Designer.
-
On the Service Portal Designer page, search for and select the page to which you want to add the widget.
-
Select the Widgets tab.
-
In the Layouts section, drag the Container layout onto the portal edit page.
-
On the container, add a set of columns by selecting the plus button (
).
-
On the Widgets pane, in the Filter Widget field, enter Portal Case Cards.
-
Drag the widget onto the container.
-
In the Edit page, select the Portal Case Cards widget.
-
Select the Pencil icon (
).
-
If you want to use configured background and text colors to indicate the state of the cases displayed in the widget, enter JSON code in the following format in the State Highlight Color field and
modify it with your desired colors.
The default text color for all case states is #181A1F (black). If you create a state, the default highlight color is #CBE9FC (light blue) and the text color is #181A1F
(black). For more information about the default color values, see Default highlight color for different case states.
[
{
"value": "1",
"background_colour": "#CBE9FC",
"text_colour": "#181A1F"
},
{
"value": "10",
"background_colour": "#D1D2EE",
"text_colour": "#181A1F"
},
{
"value": "18",
"background_colour": "#FBF7BF",
"text_colour": "#181A1F"
},
{
"value": "6",
"background_colour": "#D2EABC",
"text_colour": "#181A1F"
},
{
"value": "3",
"background_colour": "#C2C4CA",
"text_colour": "#181A1F"
},
{
"value": "7",
"background_colour": "#FFCCD2",
"text_colour": "#181A1F"
}
]
For <value>, enter an integer value of the case state for which you want to change the colors. For more information about finding this value, see Display the integer values of all case states.
-
On the Instance form, fill in the fields.
-
Select Save.