Cannot use StandardSetController with ContentVersion?

I am trying to display a list of documents stored in Salesforce CRM Content on a VF page using JQGrid. I used OFFSET for paging. Since the number of records is more than 2000, I wanted to use StandardSetController like I did for some other custom objects.

The list was not getting populated when I modified the code. When I looked onto the debug log, everything was fine.

Then I tried hitting the AJAX request generated by JQGrid using browser, a page showing “List controllers are not supported for ContentVersion” appeared. That means I cannot use StandardSetController with this object.

Is there any workaround to support paging for more than 2000 records with ContentVersion?


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Refer the above blog.Earlier days we had no pagination support in salesforce.Still people used custom logics and did the pagination.In our case here too we can apply the logic in above blog to make our pagination

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x