Hello,
I have been struggling with this for a few days now and can't seem to resolve.
Specifically to the issue, within a gallery I have a multiselect combo box. The items property of the combo box is set to Office365Users.SearchUser({searchTerm:Reviewers1.SearchText}) and defaultselecteditems property set to {Value:ThisItem. 'Reviewer or Tester'}. I am patching values of the combo box to a single line of text column in a Dataverse table using:
'Reviewer or Tester':Left(Concat(Reviewers1.SelectedItems,DisplayName & ";"),Len(Concat(Reviewers1.SelectedItems,DisplayName & ";"))-1)
Without the concat function; everything works properly, if I were patching a single value. With the concat function; it combines the strings and patches the record within the gallery and to the data source fine. However, it deletes all previously patched combo box selections within the gallery and from the data source. If anyone could help, it would be greatly appreciated. Thanks.
Solved! Go to Solution.
Hi @czwatson,
Do you want to keep the previously saved value and concatenate with the new saved value?
Could you please share a bit more about your scenario?
If you want keep the previously saved value, I think you should reference to the 'Reviewer or Tester' value of the current record.
'Reviewer or Tester':ThisItem.'Reviewer or Tester' & Left(Concat(Reviewers1.SelectedItems,DisplayName & ";"),Len(Concat(Reviewers1.SelectedItems,DisplayName & ";"))-1)
Hi @czwatson,
Do you want to keep the previously saved value and concatenate with the new saved value?
Could you please share a bit more about your scenario?
If you want keep the previously saved value, I think you should reference to the 'Reviewer or Tester' value of the current record.
'Reviewer or Tester':ThisItem.'Reviewer or Tester' & Left(Concat(Reviewers1.SelectedItems,DisplayName & ";"),Len(Concat(Reviewers1.SelectedItems,DisplayName & ";"))-1)