3

Apex Query on ContentVersion object and get all records, but the record are coming on current login user owned, not all records are coming. for example i am login with administrator account and want to see all records on my page, but they just return the records owned by me . is it any work around to get all records.

1 Answer 1

2

The ContentVersion Sobject document mentions

Users (including users with the “View All Data” permission) can only query files they have access to, including:

  • All Salesforce CRM Content files in libraries they're a member of and in their personal library, regardless of library permissions (API version 17.0 and later).
  • All Chatter files they own, posted on their profile, posted on groups they can see, and shared directly with them (API version 21.0 and later).
1
  • 2
    Yes i have read this documentation thats why i ask if there any workaround to get all records ?
    – Faisal
    Mar 5, 2016 at 12:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .