Create string of all selected checkbox values

0
Entity A is empty and one of its attributes is "Companies". Entity A has a many-to-many association with Entity B that has a single attribute: 'Companies'   I have a form in which a user updates Entity A's other attributes via text boxes. The user selects companies from a multi-selection combo-box with Entity B as the data source.   I need all the selected companies in the combo box to be concatenated into a string and update the Companies attribute in Entity A but I'm unable to do this.   Mendix docs suggest using the Get Checkbox Set Selector Value function, but I cannot find any examples of how to actually use it.   Has anyone successfully accomplished this?
asked
1 answers
0

Add a microflow that triggers onchange, retrieve the associated records.

Add a create variable activity to create a string and then loop over the retrieved records setting the string variable and then use that value to set the attribute via a change object acvtivity.

This should do the trick.

answered