15 Antworten
There are two issues being discussed here, one is parent record Id and second is related list name.
Related list name issue can be resolved by giving the correct name which can be found on the lookup field created on the child object.
Second issue is parent record id. I have tried using {!recordId} and it doesn't load the component and displays an error this component has no data.
My question is where should this recordId variable gets the Id? Do i have to place a record detail on the site? Really confusing, Can anyone please help if you figured this out.
Thank you!