Version: eXtendFiles 1.8.0 and above
Audience: Administrator
Overview
When attempting a Public Upload, users may encounter the message: "Maximum X files are allowed to be uploaded for…" when opening the page. This article explains what counts toward the Max Public Upload Limit.
The limit applies only to eXtendFiles records flagged for Public Uploads, not all eXtendFiles on the record type. Specifically, the system counts files where custrecord_extfile_public_file_upload = true, meaning the file was uploaded via the Public Upload feature (not uploaded internally to NetSuite).
When the count reaches the configured Max Public Upload limit for that record type, further uploads are blocked.
Configuration
What the Max Public Upload Limit Controls
The Max Public Upload Limit is an optional per-record-type setting that caps how many public upload files can be attached for a single approval/record context.
- The default limit is 10 if not set.
- If you configure a limit greater than 1000, the system treats it as "no limit" for uploads.
What Counts Toward the Limit
Only eXtendFiles records that meet ALL of the following criteria:
- The file has
custrecord_extfile_public_file_upload = true. - The file is associated with the specific target record. For example, a public upload for a specific customer only compares against files publicly uploaded to that same customer.
Not counted:
- eXtendFiles that are not marked as Public Upload (flag is false).
- eXtendFiles on the same record type but linked to a different record or different approval UUID.
- Non-public uploads and unrelated files.
How the Limit is Checked
Public Upload validation checks:
- The target record type from the Public URL context.
- The record ID (when present) and the approval UUID.
- The public upload checkbox filter
custrecord_extfile_public_file_upload = true.
If the count is greater than or equal to the configured Max Public Upload Limit, the upload is rejected with the message: "Maximum X files are allowed to be uploaded for…."
Where to Configure

If the Max Public Upload Limit is missing or not a valid number, the system uses 10 as the default.
Frequently Asked Questions (FAQs)
Q: Is the limit per record type overall?
A: No. It's per target record and approval UUID context, and only for files with the public-upload flag enabled.
Q: Do internal uploads count?
A: Only if the upload creates an eXtendFiles record with custrecord_extfile_public_file_upload = true and it's associated with the same target context.
Q: What exact message is returned when the limit is reached?
A: "Maximum X files are allowed to be uploaded for…."
Q: What if my configured limit is blank or non-numeric?
A: The system uses 10 by default.