+ 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 Force.com 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?