How to hide sections using client script but the section's name are not in English

Alon Grod
Tera Expert

Hi,

Im trying to hide sections using onLoad client script using g_form.setSectionDisplay but the problem is that the section's name are not in English. When I do alert(g_form.getSectionNames()) the system recognize the name of the sections as '_', and I have few of thems. What can I do?

 

This is the Alert result:

AlonGrod_0-1765796202882.png

 

10 REPLIES 10

@Alon Grod 

English is the default and foundational language in platform

You can configure the section name in English and then store the translation value in

it's stored in Translated Name / Fields table

AnkurBawiskar_0-1765799721193.png

 

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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