function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pavan kumar 177pavan kumar 177 

How to retrieve and pass lookup record id

I'm currently overriding the edit button with the lightning record edit component for a custom object named 'Schedule' which has a lookup relationship with the lead record. My requirement is to get lead record fields and display them on the form. I believe we can get the fields through force: record data but how to get & pass the lookup record id. Is there a better anyway to handle this?
For Reference:

User-added image