+ Start a Discussion

How can retrive more 1000 records in a VF page?

How can retrive  more 1000 records in a  VF page?


If you aren't going to be making any changes to the records, you can make the page read only which allows your components to handle 10,000 records:




Hi pavan,


Try to use readonly="true" attribute in your visualforce page <apex:page> tag.

see below link.
collection exceeds maximum size: 1001


Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator