How to Hide Tabs under Sections onLoad?

saint
Tera Expert

Hey Experts,

 

I want to hide tabs under sections and not the section itself for some condition. Please let me know how can I acheive this. I have highlighted what needs to be hidden, let me know if more info is needed.

 

*If I hide the field under computed values when overriden, still that title shows up, and space remains empty, I want to hide the title and field below both!

 

saint_0-1692693641461.png

 

1 ACCEPTED SOLUTION

saint
Tera Expert
Hello Guys, In this video I have explained about how to control the visibility of annotation in any form in servicenow. If you really like my effort please like the videos, subscribe the channel. If you have suggestion or feedback , please comment in comment box.
10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@saint 

It seems it's either a formatter or an annotation.

Please check that and share us the updates.

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

Hi @Ankur Bawiskar Its an annotation

saint
Tera Expert

saint_0-1692697821575.png

 

Hi @saint,

 

Take a look at this solution to hide the annotations: How to hide Annotation using UI policy 

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

lp6
Tera Guru

Hi @saint ,

 

Write Onload Client script and use this based on your conditions =>  $('field_name').up().show();

 

Please Mark my Answer as helpful and accept the solution if it solves your problem.