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 / How do I patch a recor...
Power Apps
Answered

How do I patch a record in another SP list

(0) ShareShare
ReportReport
Posted on by 3

I built a form in power apps but need to lookup and patch a record in a different SP list.

Right now I am trying to Patch('OtherList', Lookup('OtherList', CompanyName = Datacardvalue2.Selected), {Status: DataCardValue1.Selected, '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"})

But it isnt working.

Datacardvalue2 is a SP lookup field for 'OtherList' CompanyName so that my users can only add records to this new SP list based on companies already in 'OtherList'

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    Hi @jbacacia ,

    Strangely this is less complex than you think as you have the ID and the Value of the item already in the Lookup column (and the "other side" is not a Lookup - it is simply a field value)

    Patch(
     'OtherList', 
     {ID:DatacardValue2.Selected.ID},
     {Status: DataCardValue1.Selected.Value}
    )

    PS Lookup fields are still a bad and unnecessary idea for Power Apps interfaces . . . 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard