My data is a sharepoint list. It includes a "Person" type.
In Power Apps, I have a combobox that displays the person correctly.
The combobox also searches the persons correctly.
But when I want to update the collection, I have an error :
UpdateIf(
colGridUpdates,
ID = ThisItem.ID,
{
Titre: txtTitle.Value,
Description: dpDescription.Value,
'Due Date': dpDueDate.SelectedDate,
Priority: {Value: dpPriority.Selected.Value},
Auteur: {Value: combobox_usagers.Selected}
}
)
Error here :
combobox_usagers.Selected
It says "Expecting a record value, but of a different schema."
"combobox_usagers.Selected.Value" does not work either.
How can I send a "Record" type back to Sharepoint ?