How to hide section in service now?

Sujata Lenka
Tera Contributor

how to hide the below section, please help in this.

 

SujataLenka_0-1704016765629.png

 

 

4 REPLIES 4

Bhagya
Tera Contributor

Bhagya_0-1704030669362.png

Try with an onLoad() client script as above.

Note: To get the correct name of your section uncomment the alert. Also replace the table name with the table as required.

 

function onLoad() {
var sections = g_form.getSectionNames();
    //alert(sections);
        g_form.setSectionDisplay('test',false);
}

Nivedita Patil
Mega Sage
Mega Sage

Hi @Sujata Lenka ,

 

Please refer the below link.

https://www.servicenow.com/community/developer-articles/servicenow-form-section-hide-show-servicenow...

 

Mark my answer as accepted solution and helpful if helps you.

 

Thanks,

Nivedita Patil.

Sayali Gurav
Tera Guru
Tera Guru

ritu_saluja
Tera Expert

Hello @Sujata Lenka,

If it is just a related list click on the three line icon configure related list and remove it from selected side and save.

 

If it helps please mark my answer correct and helpful

 

Regards,

Ritu Saluja