The CreatorCon Call for Content is officially open! Get started here.

How to Hide related links and related lists using client script or UI policy on portal for standard changes

SumanthMora
Mega Guru

How to Hide related links and related lists using client script or UI policy on portal for standard changes (without updating the condition on the respective UI actions)

1 ACCEPTED SOLUTION

Here you go:

https://community.servicenow.com/community?id=community_question&sys_id=fe344e92dbbc5b404fc2f4621f96...


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

View solution in original post

9 REPLIES 9

Thank you. Is there a way to hide related links?

Hi,

Those related links are UI Actions. To hide them from anyone who is not an admin, you would right click on the link, choose Edit UI Action and add something like gs.hasRole('admin') to the condition field.

 

If i was able to solve your query, please mark my answer correct and helpful.

Thanks & regards

Prasant kumar sahu

Prateek kumar
Mega Sage

Check this out:

https://community.servicenow.com/community?id=community_question&sys_id=fcfcf77edb435f082be0a851ca96...

 


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Thank you. But how to hide Related Links?

Here you go:

https://community.servicenow.com/community?id=community_question&sys_id=fe344e92dbbc5b404fc2f4621f96...


Please mark my response as correct and helpful if it helped solved your question.
-Thanks