You mean how to accomplish this domain model wise? I think you're almost there  . Goodluck!
Thank you for your response and the tip you gave.
My problem is that I have a hard time putting the information together. As you can see I created a page and applied a dataview widget in to the page. Via the button "medewerkers" I want to select employees with their role for that team.
The button "medewerkers" activates a microflow. By searching I came to this example:
The idea is to create an overview of employees that I can select. The interface that I now use is not what i'm looking for . What if there are 100s of employees, how do I still keep an overview?
On the teams page, try to add a reference set selector widget and connect it to the association between team and Medewerker. The widget will generate the buttons to add or remove a Medewerker to a Team.
Have a look here
Thank you! Now I can add employees to teams with the widget reference set selector. But how can I assign a role to an employee within that team?