function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
how can we show more than 1000 records in visualforce page?
Use the readonly attribute - this relaxes the limit on the understanding you aren't going to make any changes to the data:
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_readonly_context_pagelevel.htm
Thank you so much bob. I am able to display more than 1000 records after giving readOnly = "true"
I have one doubt may be with this displaying is possible. Is it possible to do any dml operations on these records when i given this "readOnly=true"
Thanks in advance....
No, that's the contract - you can get more data as you guarantee not to change it.
Should it work for any element collection? I'm still getting 'collection size exceeds..' error for a List<String>.
Use the readonly attribute - this relaxes the limit on the understanding you aren't going to make any changes to the data:
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_readonly_context_pagelevel.htm
Thank you so much bob. I am able to display more than 1000 records after giving readOnly = "true"
I have one doubt may be with this displaying is possible. Is it possible to do any dml operations on these records when i given this "readOnly=true"
Thanks in advance....
No, that's the contract - you can get more data as you guarantee not to change it.
Should it work for any element collection? I'm still getting 'collection size exceeds..' error for a List<String>.