Add and configure the Retail KPI widget
Display report data in card format on your portal. You can display the report data by adding and configuring the Retail KPI widget.
Before you begin
The Retail Core [com.sn_retail_core] plugin must be activated. For more information, see Activate Retail Core.
The page to which you want to add the widget must exist. For more information, see Create a page for Configurable Portal widgets.
Role required: admin
Procedure
- Navigate to All > Service Portal > Service Portal Configuration.
- Select Designer.
- On the Service Portal Designer page, select a retail portal page.
- 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 Retail KPI.
- Drag the widget onto the container.
- In the Edit page, select the Portal Data List widget.
-
Select the Pencil icon(
).
-
On the instance options page, in the Data field, paste the following JSON code to configure the lists.
[ { "title": "KPIs for area manager and regional manager", "relatedPartyTypes": ["0598ebfd105a0e90f877992571046f22", "02a86f3510da0e90f877992571046f2e"], "reports": [ { "report_id": "7e80564b43561210ae0a620465b8f2fc", "link": "/rsp?id=rsp_cases&category=escalated%20cases" }, { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" }, { "report_id": "e68538d743961210ae0a620465b8f2f2", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=sla%20breached%20cases" } ], "order": 10 }, { "title": "KPIs for store manager fulfiller", "relatedPartyTypes": ["4c78677510de0e90f877992571046f17"], "reports": [ { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" }, { "report_id": "f827385b43961210ae0a620465b8f2fe", "link": "/rsp?id=rsp_cases&category=cases&sub_category=unassigned" }, { "report_id": "b297b45b43961210ae0a620465b8f272", "link": "/rsp?id=rsp_cases&category=cases&sub_category=my%20assigned%20cases" }, { "report_id": "e68538d743961210ae0a620465b8f2f2", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=sla%20breached%20cases" } ], "order": 20 }, { "title": "KPIs for store manager contributor", "relatedPartyTypes": ["36b4c8297701121080b68b457d5a9994"], "reports": [ { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" }, { "report_id": "85f7389b43961210ae0a620465b8f247", "link": "/rsp?id=rsp_cases&category=cases&sub_category=requested%20by%20me" }, { "report_id": "f827385b43961210ae0a620465b8f2fe", "link": "/rsp?id=rsp_cases&category=cases&sub_category=unassigned" }, { "report_id": "e68538d743961210ae0a620465b8f2f2", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=sla%20breached%20cases" } ], "order": 30 }, { "title": "KPIs for store associate fulfiller", "relatedPartyTypes": ["df267ece38f30210f8779c150ba3e504"], "reports": [ { "report_id": "b297b45b43961210ae0a620465b8f272", "link": "/rsp?id=rsp_cases&category=cases&sub_category=my%20assigned%20cases" }, { "report_id": "f827385b43961210ae0a620465b8f2fe", "link": "/rsp?id=rsp_cases&category=cases&sub_category=unassigned" }, { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" } ], "order": 40 }, { "title": "KPIs for store associate contributor", "relatedPartyTypes": ["8d046b7d105a0e90f877992571046f3b"], "reports": [ { "report_id": "85f7389b43961210ae0a620465b8f247", "link": "/rsp?id=rsp_cases&category=cases&sub_category=requested%20by%20me" }, { "report_id": "ed3cfc9343d61210ae0a620465b8f294", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=awaiting%20info%20cases" }, { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" } ], "order": 50 }, { "title": "KPIs for all users", "reports": [ { "report_id": "8ec2120f43561210ae0a620465b8f253", "link": "/rsp?id=rsp_cases&category=action%20needed&sub_category=open%20p1%20cases" }, { "report_id": "b297b45b43961210ae0a620465b8f272", "link": "/rsp?id=rsp_cases&category=cases&sub_category=my%20assigned%20cases" }, { "report_id": "85f7389b43961210ae0a620465b8f247", "link": "/rsp?id=rsp_cases&category=cases&sub_category=requested%20by%20me" }, { "report_id": "7e80564b43561210ae0a620465b8f2fc", "link": "/rsp?id=rsp_cases&category=escalated%20cases" } ], "order": 60 } ]Note:For more information, see Retail KPI JSON parameters.
Review sys_report table records to validate configurations in use with the Retail KPI widget.
- On the Instance form, fill in the fields.
- Select Save.