We have an Apex class which provides data for our mobile app(sdk not sf1) through an API. This app users are of community users.

The Apex class used here is declared as Without Sharing but when users search for the records, they cannot able to see few records. We found that it is due to Sharing settings which Apex class is not taking under consideration.

We have modified our OWD settings to public read for the object and even then, we are facing the same issue.

I have read that community users have some issues with Sharing settings and is this issue related to that? Please suggest.

  • Did you change the sharing for External access? – Santanu Boral Apr 22 '19 at 7:17
  • Yes I did. Even then, we are seeing only limited records Where as in anonymous window, we can able to see all records. Is there anything that we can configure to get this done? Please suggest – S kanth Apr 22 '19 at 7:20
  • anonymous Apex runs with full permission of the user. Verify that how you have shared the records to community members (by Sharing Set or Sharing Group) – Santanu Boral Apr 22 '19 at 7:21
  • In External Sharing Access, we have put the access as Read only for the object records that we are querying. Even then, we are seeing the limited records – S kanth Apr 22 '19 at 8:24
  • Which object records you are querying? – Banshi Lal Dangi Apr 22 '19 at 8:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.