You need to sign in to do that
Don't have an account?

Error:received too many records from the external data source
I am fetching the records which are more than 1000 from extenal objects and facing the error is
"Error:received too many records from the external data source"
Here governer limits are hitting for extenal objects(1000) rows and please let me know how can i solve this issue.
I want to display more than 1000 records and display it in vf page.
Implimnetd the pagination and all just need help about how to access the more than 1000 records and shou in vf pafe
"Error:received too many records from the external data source"
Here governer limits are hitting for extenal objects(1000) rows and please let me know how can i solve this issue.
I want to display more than 1000 records and display it in vf page.
Implimnetd the pagination and all just need help about how to access the more than 1000 records and shou in vf pafe
1) Limit your query after adding Limit Keyword in SOQL
2) Add Readonly= true
3) Pagination
For best practices on dealing with limits you should go through this.. this might help
1) http://wiki.developerforce.com/page/Apex_Code_Best_Practices Instead, use a SOQL query for loop as in one of the following examples Let the Force.com platform chunk your large query results into batches of 200 records by using this syntax where the SOQL query is in the for loop definition, and then handle the individual datasets in the for loop logic