I have a Sharepoint list with a Person column. The column is set to allow multiple persons. I've connected a form with a data card to this item, and in there is a ComboBox with its Items set to Choices(ListName.PersonColumn).
The data card's default is ThisItem.PersonColumn, but this results in an "Expected Record Value" error. I don't really need to display the data, just enter data, so using Blank() here is fine. The update is set to ComboBox.Selected (SelectedItems seems more correct, but it also gives me a record error).
If I submit anything with the combo box filled in, I get this error: "There was a problem saving your changes. The data source may be invalid." This was working just a week or two ago, so I'm unsure as to what the cause could be.
That doesn't seem to have resolved the issue, although having ThisItem.PersonColumn in the combo box's DefaultSelectedItems does seem more correct than having Parent.Default and having the data card's default being ThisItem.PersonColumn.
I'm not much of a stickler over displaying a preexisting item from the sharepoint column in the combo box, I'm trying to get a mutiple selection from the combo box into my sharepoint ist when I submit the form.
Thanks for the suggestions! I've made those changes, but they still seem to be having some kind of type mismatch.
The error is simply "Expected Record Value" for both, and submitting gives me the same message as before, with nothing being submitted to the sharepoint list.
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021