One-to-Many relation

0
I have a scenario where i want to show all the Assets which is in one  box. There are two entities Asset and Box. And they are related with One-to-many relationship. Say one box have many assets. I want to show All the assets associated with one box in dataview or anything. For one to one relationship mendix gives option to fetch from association but is there any way to show data from one to many association? Thanks
asked
2 answers
1

On your page, create a Dataview for entity Box with any data source you like. In that Dataview add a Datagrid for entity Asset with for property datasource an association from Box.

Something like this:

Opdracht=Box, Opdrachtregel=Asset

answered
0

Dataview of Box and datagrid of asset

answered