I needed a custom popup for creating and editing a record. To achieve this I have created a LWC which will create and edit the record.
I had wrapped this component with an aura component. and overridden the New and Edit buttons with this component.
Now the create works fine but for edit I needed the recordId from the object context.I have followed the below documentation but its not working as expected.
But when the user clicks edit from the list view as well as the edit button in record detail page the custom component opens but the record id is not populated automatically as it was explained in the documentation.
Can someone help me find my way around this?