We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Hide fields in Incident Form Section Workspace

George_1
Tera Guru

I have the same field placed in two different sections on an Incident form. Both occurrences of the field are required because they serve different purposes.

 

I would like to hide the field in one section while keeping it visible in the other section. However, using methods such as g_form.setDisplay() affects both occurrences since they reference the same field.

3 REPLIES 3

Tejas Adhalrao
Kilo Sage

hi @George_1  ,

If you're referring to Configurable Workspace, you can achieve this by using different form views.

Open an Incident record → click the header menu (☰) → Configure → Form Layout (or Form Designer) → select the Workspace view, then remove the field from the section where you don't want it displayed.

This way, the field will only appear in the desired section for that specific view, without affecting other form views.

 

If you found my solution helpful, please mark it as Helpful and Accept Solution.

thanks ,

tejas😊

Ankur Bawiskar
Tera Patron

@George_1 

not possible to do this

if you hide then it will be hidden from both the sections

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

marianbruma
Tera Expert

Hi @George_1 

If the field is present in two different sections of the Workspace form, open the Incident Workspace view in Form Layout/Form Designer and remove the field only from the section where it is not required.

 

g_form.setDisplay() is not suitable here because it changes the visibility of the field itself and therefore affects both occurrences. Removing the field from the specific section’s layout should meet the requirement.

 

Hope it helps,