Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Patch function update a gallery selected


I was trying to update my existing record in SP list, Hence tried with Patch Function but it couldn't worked for me  please a have look on below provided screen, help me how to rectify this.



Super User II
Super User II

@ShaikSayyad ,

Can you show a screen with the error text included ? My feeling is that you put the formula in an non behavior function...

Super User III
Super User III


Please check the following:

1) 'Project Objective' - you are trying to set it to a record.  Is Project Objective a column that needs a record, or is it a text column?

2) Your Claims column in the person column should be:  

Claims:"i:0#.f|membership|" & Lower(ProjectApproveFormManager_lbl.Selected.Email), 

3)  Although not technically in error - you should remove all of the SelectedText properties in your formula and change to Selected.Result.  SelectedText is a deprecated property.

4) Make sure that your Gallery that you are using to reference the selected record for the Patch is actually based on your datasource.

5) As @gabibalaban, make sure you have this formula on a behavioral action.


I hope this is helpful for you.

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!



Concurred with previously made points, might help to know the kinds of errors you're running into. The Patch function itself is preferred so something else may be going on. The field types can impact your approach, possibly even requiring another function be brought in.


This guide goes into this and more:


Let us know!

Thank you for your information I have made changes as you suggested but still facing same issue I'm providing you below screens 



@ShaikSayyad ,

Please keep the cursor on your formula and take a screenshot. We need to see the error, there are some precious info regarding it.



Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,526)