I have a relationship between the Person and Office entities of N x N. Entities Person, Desk_Pessoa (relationship) and Desk Where when I register a person I can link them to an office. For this, I am using DropdownTags which allows more than one option to be chosen. So far so good. However, I am unable to register more than one option when registering or editing. Remembering that, in the list of people, I cannot repeat the person's name. I must present the column with the name, the code (which comes from the relationship entity) and in the Desk column I must present all the offices linked to the person without which. The many-to-many relationship exists because you will be able to have several offices for several people Attached is the oml so you can understand better. How could this situation be resolved? Thank you in advance for your collaboration.
Hi João,
Why you have code in relationship table and why you are using this?
If this is related to person it can be moved to Person entity. No?
Also you need SelectedoptionList variable on root level not in DropdownTagsOnChanged only. Because, you will need it filled on edit condition.
Hi Abdul,the code attribute in the relationship entity is related to the link between person and desk. It is a client rule that will be used later.
you dont need it in relationship table as you have both table ids and relationship table id.
Also, you need to loop list of selecteddesklist on save action to save all selected desks in relationship table only.
", I am unable to register more than one option when registering or editing. " what does this mean?