You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyzes all forms in the instance and reports any with field counts exceeding the threshold (default: 30 fields). The script counts fields across all form sections and excludes container elements like splits and container starts.
3
+
A background script that identifies forms with excessive field counts that may impact performance or trigger Health Scan warnings.
4
4
5
5
## Usage
6
6
7
-
1. Navigate to **System Definition > Scripts - Background**
8
-
2. Copy and paste the script code
9
-
3. (Optional) Modify `maxFields` variable to set your threshold
10
-
4. Click **Run script**
7
+
1. Navigate to **System Definition → Scripts - Background**
8
+
2. Copy and paste the script content
9
+
3. (Optional) Modify `maxFields` variable to set your threshold (default: 30)
10
+
4. Click "Run script"
11
+
12
+
## What It Does
13
+
14
+
The script:
15
+
1. Queries all forms in the instance (`sys_ui_form`)
16
+
2. Iterates through each form's sections (`sys_ui_form_section`)
17
+
3. Counts fields in each section, excluding container elements (splits, section starts)
18
+
4. Reports only forms exceeding the configured threshold
19
+
5. Outputs form name and total field count to system logs
0 commit comments