Here is my situation. I have an app with a screen (gallery form screen) that contains a gallery and a form which can be edited when a user selects a gallery item. This all works great and most fields are easily editable and save correctly. However, I have one oddball field. This field returns a value from a Dataverse table that has multiple segments as seen below. This data is from a multi-select combo box on the initial form.
I added this data, to the Dataverse table, using a concat function for the Update property of the multi-select combo box like this
Concat(CB_PartnerName.SelectedItems,'Partner Name',";")
On the gallery form screen the combo box populates correctly (sort of) with the data from the Dataverse table as shown above. However, when I go to edit that field, I run into issues. Adding an additional item from the drop down I get a result that looks like this. I am guessing this largely due to the fact I am using the same function on this combo box.
Ideally, I want to this to work one of two ways.
- The next item I select gets concatenated to the end of the original. For example, if I add Cisco the update would submit HPE;Inte;Multiple;Cisco to the Dataverse table.
- The other option is that when the data is retrieved from the Dataverse table the reverse of the concatenation is done. Each item shows up as it normally would in a multi-select combo box as this mock-up below shows. This way I can remove existing items and add new items and still write it back to the Dataverse table as a concatenated value separated by semicolons

Any ideas how to effectively do this?