Salesforce Fact #299 | Access current record and parent record values in LWC screen action

We all know that LWC can now be used as a headless or screen quick action.

Now suppose we have a use case where we need to access current record field values as well as the related record field values in a LWC screen quick action. We can achieve this using an @api variable named 'recordId' & simply using LDS.

Attached are the screenshots.






Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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