Salesforce Fact #892 | Parent record access missing in LWC getRecord

While using getRecord in LWC, if the user does not have access to the parent record the parent field values are shown as null but there is no error encountered.

In this example, we have an Account lookup on Lead record and fetching the Rating and Account Owner name using getRecord.

Attached are the screenshots.






Comments

  1. Thank you for another amazing post! The way you present the information is so clear and well-structured. I have a presentation coming up next week, and this is exactly the kind of content I’ve been searching for. Where else can I find more resources like this? Keep up the great work!

    ReplyDelete

Post a Comment

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow