Service operation workspaces

AishwaryaM20522
Tera Contributor

How to set your's team work as default on SOW landing page.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AishwaryaM20522 

 

It is something in core code, but have look here

 

https://docs.servicenow.com/bundle/washingtondc-it-service-management/page/product/service-operation...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hello @Dr Atul G- LNG 
We've implemented your suggestion, and now the default value of the component changes to 'Your team's work,' and also for the donut visualizations which is great. However, we've encountered an issue where this change isn't reflected in the list below. Could you please provide guidance on what might be missing from our configurations to address this?

Please refer the below code and images and let us know if you need anything else from our end.

 

function include({imports}) { 
    let serviceDeskLandingPageUtilsSNC = imports['sn_sow_inc.SowIncidentLandingPageUtilsSNC']();
    class ServiceDeskLandingPageUtils extends serviceDeskLandingPageUtilsSNC {
        /*
        static getLabelMaps() {
            return "";
        }*/


static async getWorkPersonaConfig(helpers) {
            return {
                "items": [{
                        "id": "your_work",
                        "label": await helpers.translate("Your work")
                    },
                    {
                        "id": "your_team_work",
                        "label": await helpers.translate("Your team's work")
                    }
                ],
                "defaultSelected": ["your_team_work"]
            }
        }

    }
    return ServiceDeskLandingPageUtils;
}

 

 

Hi @AishwaryaM20522 

 

Good to know that your half issue has been resolved. I am not a coder, so looks tough for me  to deep in code. 

 

@Sandeep Rajput  @AshishKM can help here. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************