
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 07:38 AM
Hi All,
The requirement is, I need to show "change task" in classic/native view but its should not be visible in Workspace.
I implemented it in classic view but its visible in workspace as well. I need to hide "change task" related list tab in Workspace.
How I could do it in Workspace ?
Regards,
Virendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 07:53 AM
are you saying it should be present in Workspace view here in native?
but should be hidden when record opened in Service Operations Workspace?
If yes then you can use onLoad client script and check the browser url and hide it if it's sow (service operations workspace)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 05:02 AM
script needs to be modified. I already informed the view which gets rendered OOB for change form is sow so please update the view name and update script as this
I already informed hideRelatedList is not working/supported in SOW
it should be this, comment line 3
if(top.window.location.indexOf('/now/sow') > -1){
//
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 05:47 AM
I think you missed my earlier comments.
I already informed that hideRelatedList is not working/supported in workspace
Only option shared 2 hours ago
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 04:06 AM
the view is sow
I checked g_form.hideRelatedList() doesn't work in workspace so it's not hiding
The only way it to remove it from the sow form view by Configure -> Related lists
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 07:49 AM
Yes, I remove it from the sow form view by Configure -> Related lists but no luck