I created a lightning component that displays all account related cases. I want to make this component available to users, but I would like it to display all issues regardless of whether the user has access to them or not.

I changed the class to "without sharing" but I get an error: Error - We couldn't find the record you're trying to access.

Is it possible? Is there an option for the component to display data as visible through an imposed profile?

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.