I'm trying to create a PowerApp for my team for an approval process. When the data is inputted it is then saves to a SharePoint list
Within the form, i have a ComboBox in which i need to select a user from and then when the user submits this is recorded as the Approver. However i cant seem to get it to work. Within the SharePoint list the Approver column is a person field
I have enabled the O365 User Connector too
SP List is called Accounts and the component is called ComboBox1
Patch(
Accounts,
If(IsBlank(varAccount), Defaults(Accounts),varAccount),
{ Approver: {
Department: "",
Claims: ComboBox1.Selected.mail,
DisplayName: ComboBox1.Selected.displayName,
Email: ComboBox1.Selected.mail,
JobTitle: "",
Picture: ""
},
Hope someone can point me in right direction with regards to Patch Command