Hi,
Follow the below steps on how to get the standard Contacts and Customer Address tables working in a Model-Driven App the way you described:
1. Relationship Setup
> The customeraddress table already has a lookup field called Parent that points to a Contact or Account.
> Make sure the relationship between Contacts and Customer Address is properly created and Relationship Behavior is set to Referential, Restrict Delete (or appropriate behavior).
> In the relationship, confirm the Related Records Filtering is enabled so the subgrid only shows addresses related to that contact.
2. Form Subgrid
> On the Contact form, add a Subgrid.
> Set Records to Only Related Records.
> Choose the Customer Addresses table as the entity.
> Set Default View to a view that includes the address fields you want to display.
> Make sure the subgrid is bound to the correct lookup relationship (Parent → Contact).
3. Views
> For Contacts View showing addresses, you cannot show multiple child records directly in the main view. You can instead:
> Use a Calculated or Rollup field on Contact to summarize the number of addresses or key fields.
> Or use a Quick View Form to show the primary address fields.
4. Address Form
> On the Customer Address form, include the Parent lookup to associate the address with a contact.
> When you open the contact from the subgrid, the parent lookup will auto-fill and save the relationship.
5. Common Issues
> Subgrid not showing data is usually because:
> The relationship is not correctly configured.
> Related Records Filtering is off.
> The subgrid view is empty or doesn’t include the records you expect.
6. Many-to-One Use Case
> Each Contact can have many addresses via the Parent lookup (1:N).
> Each Address is linked to one Contact via the same lookup.
Thanks
Rishabh