Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
This background or fix script will list forms that have more than a certain number of fields (starting threshold is 30, but can be changed on line 2). It looks through all form sections, and excludes container starts and splits. Forms / sections with more than 30(?) fields will appear on the Health Scan / Impact report as a possible performance impact, causing the form to take a noticeable amount of time to load.
# Form Field Count

A background script that identifies forms with excessive field counts that may impact performance or trigger Health Scan warnings.

## Usage

1. Navigate to **System Definition → Scripts - Background**
2. Copy and paste the script content
3. (Optional) Modify `maxFields` variable to set your threshold (default: 30)
4. Click "Run script"

## What It Does

The script:
1. Queries all forms in the instance (`sys_ui_form`)
2. Iterates through each form's sections (`sys_ui_form_section`)
3. Counts fields in each section, excluding container elements (splits, section starts)
4. Reports only forms exceeding the configured threshold
5. Outputs form name and total field count to system logs

Loading