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

Too many picklist describes: 11 ????

 I have 10 picklists in one form, and when i run this, it run smooth. Then i create one more picklist it raise an error: Too many picklist describes: 11. has limited number of picklists display in a form is 10??????


all of picklist i get from different objects


i hope this helps...


consider using <apex:inputField /> for rendering all or some of your picklists instead of rolling them all manually via describe methods.




using <apex:inputField> is fine if all you want is the standard picklist, but if you want more advanced input controls you have no choice but to roll them your own in which case the limitation is really annoying and forces the introduction of picklist option caching in custom objects. In the end the methods we use to get around the limit probably add more overhead to the system than if sf just allowed more describe calls, but maybe not?