Loading data from master table that again has association with another table

Hi,

I have a customer table , created a product table that has association with customer(many-to-one) and module table which again has association with product table(many-to-one). In the module-edit.xml, I tried to display the products by creating a collectionDataSource. I am expecting the product names to be displayed. Instead it is displaying the entity with UUID. How can I resolve this issue and show product name in the edit page and save either product name or id in the module table?

Hi,

Open Product entity in Studio and go to Instance Name tab. Select attributes for name pattern.