I am using Patch to save records to a SharePoint list. One of the controls on my form is a Combo Box, cmbOther, that is linked to a multi select Person column in the SharePoint list.
I create the record to be saved as follows:
UpdateContext(
{
serviceRequestRecord: {
Application: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: gblAppID,
Value: gblAppName
},
Request_x0020_Type: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: cmbRequestType.Selected.Id,
Value: cmbRequestType.Selected.Value
},
Title: locRequestDescription,
Status: {Value: cmbStatus.Selected.Value}
}
}
)
I have to add to this record the selected users from cmbOther Combo Box.
How do I do that? It is not as simple as:
Other: cmbOther.SelectedItems
Any help would be appreciated.
Thank you.