How to change order of widgets in Service Operations Workspace

Rekha20
Tera Contributor

Hi All,

 

I need to place "catalog task assigned to me" widget at first place. How can I do that?

This is OOB:

Rekha20_0-1667832269204.png

 

Please let me know. I opened UI builder but not able to change the place.

15 REPLIES 15

Hi @Gunjan Kiratkar 

 

Thanks for detailed explanation. I was doing the same. Again, followed step by step as per your screenshot but I am still not seeing. I see this:

Rekha20_0-1667894719816.png

 

I noticed you see Update Layout, but I do not see. How are you seeing this? Also, I am not seeing My Work as in your screenshot.

Rekha20
Tera Contributor

Hi @Gunjan Kiratkar 

 

Please let me know how did you apply the copy one to the system?

Rekha20
Tera Contributor

Hi @Gunjan Kiratkar 

Any update on this, please?

Is is the older version of the SOW, the new version uses the repeater and makes things a lot easier to configure. But finding out about how it worked took me a while but see my reply above if you were to use and configure the new version in the future. 

 

Regards, 
Mathias Rasmussen

Hi,
The repeater creates cards dynamically from data received by the SowIncidentLandingPageUtils.

Overwrite the 'getVisualizationConfig()' method. 

You will need to copy the whole method into SowIncidentLandingPageUtils so you have full control of the output. 

 

This method creates the cards and what data it will contain. 

Here you can switch the cards around to have to order you want, create new cards, or configure if queries to your liking. 
A card looks like this: 

//visualizationConfig is an array holding objects that will be made into cards.
const visualizationConfig = [{
"id": "incident_assigned",

//Here is the table the query will use 
"tableName": "incident",
"tableDisplayValue": "Incident",

//Here are the queries as encoded queries, you can alter these queries to get the incidents you want. 

//The two different queries are for "My work" and "My teams work". 
"myWorkQuery": "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
"myTeamQuery": "active=true^assigned_toISNOTEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": mode == 'your_work' ? await helpers.translate("Incidents assigned to me") : await helpers.translate("Incidents assigned to my team"),
"groupByField": "state",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
}

 

Please let me know if this reply helps your situation.