function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
neckrneckr 

Is there a limit to the number of field sets per custom object?

Does anyone know if there is a limit to the number of field sets per custom object?

 

I have 250 field sets on 4 custom objects, however with the new capability of creating field sets with fields from child objects I want to roll all the field sets (1000) to once custom object from its 4 child objects for easier changes.

 

Before I make this effort, I want to check if I will hit any limits, I couldn't find anything on field set limitations in docs.

 

Does anyone know?

 

Thanks,

Shashikant SharmaShashikant Sharma

No limit for field set, but please be careful while using it on VFP so that view state size do not get too much.

Ankit AroraAnkit Arora

A very good link recently provided by salesforce over LIMITS : https://na10.salesforce.com/help/doc/en/salesforce_app_limits_cheatsheet.pdf

 

Nothing mentioned regarding Field Set, hoping there will be no limit over Field Sets.

 

 

Thanks
Ankit Arora

 

Gary HenvilleGary Henville
Only limit is the number of Field Sets per Visualforce page, which is 50. See also https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_field_sets.htm
Payam EzatpoorPayam Ezatpoor
In the documentation provided by Ankit it mentions this:
 
Maximum field sets allowed per Salesforce org: 500

 
Darlington de Castro JuniorDarlington de Castro Junior
Maximum field sets allowed per sObject. 2,000