How to hide related list tab "Change task" in Workspace but want it native /classic view ?

Virendra K
Kilo Sage

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

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

are you saying it should be present in Workspace view here in native?

 

AnkurBawiskar_1-1736956296745.png

 

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)

AnkurBawiskar_2-1736956403505.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

20 REPLIES 20

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

so in native it should be visible but hidden in workspace

you can use onLoad client script and specify the workspace view and hide it

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

you can configure the related list for your workspace view and remove it from that view

Ensure you are in correct scope

AnkurBawiskar_0-1736956218688.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

are you saying it should be present in Workspace view here in native?

 

AnkurBawiskar_1-1736956296745.png

 

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)

AnkurBawiskar_2-1736956403505.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 
Thanks for the reply.

I tried the code you mentioned on OnLoad but its not supporting in workspace.