Hide only my teams work widget from service operations workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I need to hide only "Incidents assigned to your team" widget from "Your Teams work" section in landing page dashboard of service operations workspace.
Note: I have taken copied variant of OOB SOW and modified the "SowIncidentLandingPageUtils" UX client script include.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi
No need to duplicate the variant.
Go to the dashboard and remove the report widget
https://devxxxx.service-now.com/now/platform-analytics-workspace/dashboards/params/edit/true/tab-sys-id/948274d0477bca5096bc6095d36d4383/sys-id/f671f450477bca5096bc6095d36d43d7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for your response, Actually i have a custom widget which shows interactions assigned to you and your team but I want only assigned to you widget. that widget is not showing in platform analytics dashboard.
I have added this widget by adding script in "SowIncidentLandingPageUtils" UX client script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
so you are not rendering the OOTB dashboard on SOW landing page?
how is that widget configured and added on landing page?
share that custom widget script etc and screenshots
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Ankur Bawiskar,
Thanks for your response.
I have tried both ways with OOB dashboard and custom variant.
Now I am using OOB dashboard only and did modification in "SowIncidentLandingPageUtils" client script include. Below is the code I added to get interactions widget.
so this script is adding two widgets, one is under "Your work" and another one under "Your teams work". I just require only your work widget.
{
"id": "interactions_assigned",
"tableName": "interaction",
"tableDisplayValue": "Interaction",
"myWorkQuery": "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
"myTeamQuery": "active=true^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": mode == 'your_work' ? await helpers.translate("Interaction assigned to you") : await helpers.translate("Interaction assigned to your team"),
"groupByField": "state",
"evamId": evamDef['interactionTaskEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
"roles":mode == "your_work" ? ["itil","itil"] : ["itil","itil"],
},