web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch function update ...
Power Apps
Unanswered

Patch function update a gallery selected

(0) ShareShare
ReportReport
Posted on by 111

Hi,

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.

ShaikSayyad_0-1612118100274.png

Thanks

Categories:
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @ShaikSayyad ,

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

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ShaikSayyad 

    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.

  • Patrick Hess Profile Picture
    Microsoft Employee on at

    ShaikSayyad,

     

    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:
    https://sharepains.com/2021/01/13/patch-field-type-sharepoint-power-apps/

     

    Let us know!

  • ShaikSayyad Profile Picture
    111 on at

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

    ShaikSayyad_0-1612160752147.pngShaikSayyad_1-1612160794810.pngShaikSayyad_2-1612161369600.png

     

  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @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.

    gabibalaban_0-1612164168217.png

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard