Change the default choice of the Service Operations Workspace to "Your team's work"

lrmatamoros
Tera Contributor

I need the SOW to display the team's work by default instead of the person's work.

1 ACCEPTED SOLUTION

Haseeb-Ahmed
ServiceNow Employee
ServiceNow Employee

Hi @lrmatamoros ,

You may follow below

1. open UX Client Script Include (sys_ux_client_script_include) "SowIncidentLandingPageUtilsSNC"

2. Override method "getWorkPersonaConfig" to have "defaultSelected": ["your_team_work"], in non snc version "SowIncidentLandingPageUtils"

3. You may follow this to understand how to override(https://www.servicenow.com/community/itsm-articles/configuration-activities-for-service-operations-w...

 

Please accept the solution or give a thumbs up if it answers your query.

Thanks,
Haseeb Ahmed

View solution in original post

12 REPLIES 12

Michael_Martin
Tera Contributor

I wanted to achieve the same thing. I was able to set the button default to "my teams work". But it loads the old data, so i digged why and found this.

 


Servicenow is hardcoding the "your_team" value on the intiial load in the variant.
And as this variant is read only, you cant change it nor force it. No chance.

The only way to get this working is with creating your own variant and replace that "your_work" with "your_team_work" in the client script, shown in the screenshot. What a pity.. They offer a default value in the script include, but their script isnt using it... awesome..

Michael_Martin_0-1723561271344.png

 

as we cant edit.. i meant "your_work" not "your_team".

Hi @Michael_Martin ,

Thanks for bringing this up.

With latest version of SOW, product team is trying to enhance configurability aspect, so from SOW 5.0 onwards one will be able to configure common use cases using "Service Operations Workspace Admin Center".

I will check regarding configurability aspect of default your_work/your_team_work in recent version and raise PRB is required.

 

 

Please accept the solution or give a thumbs up if it answers your query.

Thanks,
Haseeb Ahmed