Notifications
Announcements
Your issue likely arises because the "Preapprover Name" column is a Person or Group type, and it is not being provided in the correct format for the Patch function.
To update such columns, you need to provide a record object to the Patch function. You can modify your code as follows:
Explanation:
cmbPreapprover.Selected
LookUp(Users, DisplayName = cmbPreapprover.Selected.DisplayName)
Users
If the above code does not work and your Users data source is unavailable, try the following alternative: Patch( ContractRegister, ShowColumns(colGridUpdates, Title, RiverbankRefandCriteria, CustomerContract, ApprovalStatus, ContractLookup, ID), {'Preapprover Name': { '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", 'Claims': "i:0#.f|membership|" & Lower(cmbPreapprover.Selected.Email), 'DisplayName': cmbPreapprover.Selected.DisplayName, 'Email': cmbPreapprover.Selected.Email } } );
When to use this alternative:
You can test this solution and let me know if it resolves your issue. 😊
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268