Get Parent Record Id From Lightning URL
The post discusses creating a lighting component for a new record related to Opportunity in Salesforce. The challenge is to auto-populate the Opportunity record, but the "force:hasRecordId" interface is insufficient as it only provides the current record ID. The solution given advises using the "lightning:isUrlAddressable" interface to generate a URL and retrieve the Opportunity record ID.
8 Comments
November 23, 2019