Error Reference

Form section not showing: section hidden or missing

Form section not showing: section hidden or missing

Where this appears

This error typically appears when users cannot see expected form sections on records, or when developers notice missing sections during form configuration. The issue manifests in the ServiceNow interface where form sections that should be visible are either completely absent or hidden from view.

Sourdough
Chrome Extension

Debugging this in a real instance?

Sourdough lets you trace "Form section not showing: section hidden or missing" through system logs, script errors, and API health in the ServiceNow tab you are already using.

Add to Chrome

Free to install. Pro $5/month after a 14-day no-card trial.
Pro requires the ServiceNow admin role. Upgrade inside the extension.

Overview
Tasks
CMDB
API
Metrics
Monitor
Internals
Instance:sourdoughdev·Version:Yokohama
Instance StateONLINE
System StatusFully Operational
Session Timeout90 minutes
Logged-In Sessions2 (20 active)
Build Nameyokohama-12-18-2024_p1
IP Address10.159.128.43
Instance HealthHealth Score: 90%
🔥 5dSourdough (Chrome Plugin)Dark Mode

Cause

A UI Policy is configured to hide the section based on field conditions or user criteria, either through the 'Visible' checkbox being unchecked or script logic setting section visibility to false. (high likelihood)

The section has been removed from the form layout or form view configuration, making it unavailable for the current form context or user role. (high likelihood)

A client script is programmatically hiding the section using g_form.setSectionDisplay() or similar API calls based on form logic or field values. (medium likelihood)

ACL (Access Control List) restrictions are preventing the user from viewing the section due to insufficient read permissions on the section or its contained fields. (medium likelihood)

The section is configured with role-based visibility restrictions that exclude the current user's roles, or the section has conditional display rules that aren't being met. (low likelihood)

Fix

Step 1: Navigate to the affected form and right-click in an empty area, select 'Configure > Form Layout' to verify if the section exists in the current form view and check its position in the layout.

Step 2: Check UI Policies by navigating to System UI > UI Policies and search for policies affecting the table, then review any policies that reference the missing section or its fields for visibility conditions.

Step 3: Open the browser's developer console (F12) and look for JavaScript errors or console messages related to section visibility, then refresh the form to capture any client script execution logs.

Step 4: Navigate to System Definition > Client Scripts and search for scripts on the affected table that use g_form.setSectionDisplay() or similar section manipulation methods, checking the logic conditions.

Step 5: Verify ACL permissions by navigating to System Security > Access Control (ACL) and searching for rules affecting the table or specific fields within the section, ensuring the user has appropriate read access.

Step 6: Test with an admin account or different user role to determine if the issue is role-specific, and check if the section appears for users with elevated privileges.

Step 7: If the section was removed from the form layout, add it back by dragging the section from the available sections list in the Form Layout configuration, or create a new section if it was deleted.

Step 8: Clear the cache by navigating to System Diagnostics > Cache Purge and selecting 'Form Layout' and 'UI Policy' to ensure configuration changes take effect immediately.

Test Your Knowledge

Quick 3-question quiz. See how your ServiceNow skills stack up.

Question 1 of 3Performance

A list view on a table with millions of records is slow. Best fix?

Select an answer to continue