Extra section is created on demand form

surajkorade
Tera Contributor

I created a custom view on the Demand table and added an additional section named "Label". I am now trying to remove this section, but I’m unable to edit or delete it through Form Designer. Additionally, the section is not appearing in the sys_ui_section table, which makes it difficult to identify and remove.

3 REPLIES 3

Naveen20
ServiceNow Employee

From your second screenshot, the "Quote Customer" tab is throwing "Fail to retrieve section information — This section is associated with a different form view" and "Can't retrieve content." This typically means that section was created under a different view name than the one you're currently looking at. This reinforces that the view association might be mismatched — confirming the records exist but are linked to an unexpected view.

If none of the above surface the record, as a last resort you can run a background script (be cautious, test in sub-prod first):

 
 
javascript
var gr = new GlideRecord('sys_ui_section');
gr.addQuery('name', 'demand'); // also try 'dmn_demand'
gr.query();
while (gr.next()) {
    gs.info('Section: ' + gr.title + ' | View: ' + gr.view.getDisplayValue() + ' | SysID: ' + gr.sys_id);
}

This will log every section for the Demand table regardless of view, helping you pinpoint the orphaned "Label" section for deletion.

Ankur Bawiskar
Tera Patron

@surajkorade 

looks like you are not in correct view which has that section

1) ensure you are in correct form view

2) then do this

right click on the form -> configure -> Form design and remove the section you want my click (X) button and Save.

💡 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

@surajkorade 

Hope you are doing good.

Did my reply answer your question?

💡 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