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 / Update Share Point usi...
Power Apps
Answered

Update Share Point using Power Apps Patch Function Not working as desired

(1) ShareShare
ReportReport
Posted on by 166
Hello All,
 
I have a Share Point list page (Waivers), in which I am using Patch function to insert into the share point list page. That part works fine, but when I try to update I am unable to get the values from the main page
Here is my list page.
 
When I click on either of the titles, its always pulling first row with ID 21. 
 
 
Here is the code I have written to pull ID into a variable and then use in the default function of a text field which. you can see above with value 21, even when I click on 22 row. 
Set(
    varWaiverId,
    LookUp(
        Waivers.ID,
        ID = ThisRecord.ID
    )
).
 
 
Categories:
  • Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at
    Hi,
     
    There is no reason to use a Variable and I suggest not doing it.
     
    Simply say Gallery.Selected.ID or whatever field you want to use.
     
    You keep talking about pages. Are these Power Pages, or Forms (Custom Forms) or an App
  • PraveenC Profile Picture
    166 on at
    FLMike, 
     
    I am using share point list page.
     
    I am using gallery just to show/see what details are being pulled. I will eventually remove the gallery.
     
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
    Hi Praveen,

    Lets say the gallery in your image is Gallery1, then for text label on the top just use - 
    Gallery1.Selected.ID
    To filter Gallery1 based on your selection of your main page or gallery. Lets say it is called MainGallery, just use - 
    Filter(Waivers,ID=MainGallery.Selected.ID)
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
  • PraveenC Profile Picture
    166 on at
    My apologies for confusing you all with Gallery.
     
    Please assume if there is no Gallery, how would I retrieve the information from SharePoint List page?
  • Verified answer
    PraveenC Profile Picture
    166 on at
    I was able to resolve the issue using  - SharePointIntegration.Selected.ID

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard