Add device to current user

Hi all, Just for learning purposes, how would i be able to achieve the following page, with this domain model ? I know how to retrieve the current user details on the page, but not how to add multiple devices. If you can put me in the right direction or show me an example, that would be really helpful.
1 answers

If you want the devices in a list, you can add a "Reference set selector”-widget to the Dataview showing your User-Object:

If you want the Devices concatenated in one field, then in the dataview of the User, add an “input reference set selector”-widget:

In both you will have to set the Datasource to User/User_Device/Device. You domain model has the arrow pointing from User to Device, so you will be able to select Device as your Datasource.

They look slightly different: