Troubleshooting
Problem
Diagnosing The Problem
Follow the below steps to configure the Customer Service persona in Next-gen store UI.
1) Enable the permission for atleast one of the feature 'OrderSearch', 'CustomerSearch', 'FindProduct'. This will introduce the 'Customer Service' persona in IBM Sterling Next-Gen Store UI.


2) Resource permission is common for some of the components for example :
Disabling the permission from resources for 'OrderSearch', 'FindProduct', 'CustomerSearch' will disable these from Global Search and also hides the Customer Service persona.
Global Search Screenshot:


Resolving The Problem
You can follow the mentioned steps to maintain the Global Order Search component on the Next-Gen Store UI, while ensuring the Customer Service persona remains hidden.
Steps followed:
1) Customize the Customer Service Persona to hide it completely from Next-Gen Store UI.
2) Copy the 'isf-persona-config.json' file from the OOB path (packages/features/app-shell/src/asset/app-shell/config/isf-persona-config.json ) to the extensions directory (/store-frontend-src/extensions/override-static-assets/portlets/config/isf-persona-config.json)
3) Pass "showPortlet" : false for all the portlets under Customer_Service persona.
Sample persona file for one of the portlet 'Find Product' under Customer_Service persona. Pass the same attribute for other portlets as well under Customer Service Persona, that will allow the persona to be removed completely from the UI.
{
"personaName": "Customer_Service",
"personaIconClass": "app-icon-cust_service_20",
"portlets": [
{
"portletTitleBundleKey": "findProductsPortlet.TITLE_findProductsPortlet",
"portletTID": "findProductsPortlet",
"portletSequenceNumber": 10,
"portletComponent": "FindProductsPortletComponent",
"portletIconClass": "app-icon-find-products-100",
"portletColor": "#3C6DF0",
"resourceId": "ISF000044",
"displayPortletTitleName": false,
"requiresMultiLocation": false,
"requiresInventory": false,
"showPortlet" : false,
"sitemap": [
{
"portletBundleKey": "sitemap.TITLE_findProductsPortlet",
"relativeUrl": "/store/home/Customer_Service"
}
]
}
4) Run yarn start-app.


Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
20 September 2024
UID
ibm17162354