Hide Related List on Workspace

Vinicius Luz1
Tera Expert

Hey Guys,

On UI16 we can hide realted lists using UI Policies or Client Scripts using "g_form.hideRelatedList();"

However it did not work on Workspace, can someone provide an alternative to hide the related list based on a condition?

 

tks,

Vini

3 REPLIES 3

Mohith Devatte
Tera Sage
Tera Sage

Hello ,

You can do one thing in your native view form there will be a view called workspace view ...

Please go to that view and do a configure related list and remove it .

If you are not using workspace view and have configured a workspace view rule for any other view then you can remove it from that view using configure related list

please mark my answer correct if it helps you

James160
Mega Guru

facing the same issue.

any idea on how to hide related list on workspace by client script?

Nikhil Bajaj9
Tera Sage

Hi @Vinicius Luz1 ,

 

Please check this thread, this may be helpful:-

https://www.servicenow.com/community/developer-forum/cant-hide-a-particular-related-list-in-workspac...

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0955728

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj