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

Notifications

Announcements

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:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard