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 / Patching sharepoint ba...
Power Apps
Unanswered

Patching sharepoint based on different sharepoint list

(0) ShareShare
ReportReport
Posted on by 174

Hello,

 

I have multiple sharepoint list that I am using.  For reference I will refer to them as SPL-A and SPL-B

 

I am trying to Patch SPL-A from a combo box that can have multiple values.  That combo box is getting it's information from a filtered SPL-B.  When I go to patch SPL-A with the information selected with the code below

Patch(
 SPL-A,
 Defaults(SPL-A),
 Field1:DataCardValue5.Text,
 Field2:DataCardValue6.Text,
 Field3:DataCardValue7.Text,
 Field4:DataCardValue8.Text,
 Field5:DataCardValue1.Text,
 Field6:DataCardValue13.Text,
 Field7:Var1,
 Field8:Var2,
 Field9:Var3,
 Field10:DataCardValue9.Selected,
 Field11:DataCardValue10.SelectedItems
 }
 );

I get

NWEASD_0-1605208670799.png

 

Any insight on this would be greatly appreciated.

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

    Hi @NWEASD ,

    Have you missed a { after Defaults(SPL-A), ?

     

     

  • NWEASD Profile Picture
    174 on at

    Sorry, I missed that when I was transferring the code into this platform.  It is there in my app.

  • NWEASD Profile Picture
    174 on at

    If I take out the line "Field11:DataCardValue10.SelectedItems" it will work and the error will go away.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard