Posts

Showing posts with the label Relationship

Salesforce Fact #791 | spanning relationship in lightning record picker

Image
Filtering in lightning-record-picker also supports spanning relationships upto one level. Reference:  https://developer.salesforce.com/docs/component-library/bundle/lightning-record-picker/documentation Attached is the screenshot.

Salesforce Fact #635 | Relationship field in Create a record action

Image
When we create a new action of type 'Create a record' on the same object as the target, there is an input 'Relationship field' which is shown. This input is visible if there is any custom self lookup field created on the object. When a record is created from this action button, this field gets populated with the parent record Id automatically. In this example, we have a custom self lookup field on Contact named 'Related Contact'. This one along with the standard 'Reports To' field is visible as options. Attached is the screenshot.