I have an aura component with a recordViewForm that displays multiple fields from the Account object . These input fields are supposed to be pre-populated but are not displaying for a certain profile but working just fine for Admin profile.

I double checked that the profile has read and create access to Account object and a lookup field , and double checked the fls on the displayed fields.

My controller is without sharing . Any help ?

  • 1
    Hi there, just to clarify, the profile that is causing the issue has read access to the fields that aren't displaying? Also if it's possible, it's useful to include your code in your question to help us help you. Jul 5, 2023 at 20:55
  • Hi, yes. The profile has read access to those fields , in fact he has almost the exact same access as the Admin profile. Jul 6, 2023 at 7:50

1 Answer 1


Fixed! Make sure the apex controller class used is accessible to your profile ! I had completely forgotten to check that detail and it cost me two days on investigating.

You must log in to answer this question.

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