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 Text Input Field...
Power Apps
Unanswered

Patch Text Input Fields To Multiple SharePoint Columns

(0) ShareShare
ReportReport
Posted on by 63

Hello,

 

I have created a gallery for an inventory list where I have a TextInput field in a column. I have another SharePoint list where I would like to write this data into where each of the inventory items have a column. I would like to Patch each value into it's respective column. Is there a way to accomplish this?

 

cperry07_0-1649451364787.png

 

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    Is the gallery connected to that list?

     

    Patch(ListName, ForAll(GalleryName.AllItems,
    {

    ID:ID,
    Column1: TextInput1.Text,
    Column2:TextInput2.Text
    ...
    }

    ))

  • cperry07 Profile Picture
    63 on at

    Hello,

     

    I'm actually pulling the Gallery items from a SharePoint list that I created.

     

    My issue is there is only one TextInput field since it is a part of a gallery.

     

    cperry07_0-1649452263856.png

     

  • zmorek Profile Picture
    3,272 on at

    Then remove one of the TextInputs I gave in my example (which was to show you how to patch multiple columns)

     

    If I'm understanding correctly, you have one list with at least two columns, one being the name of the item, and the other to hold the quantity, right? Then that list is the gallery's Item() property?

     

    Give this a shot:

     

    Patch(ListName, ForAll(GalleryName.AllItems,
    {

    ID:ID,
    Column1: TextInput1.Text
    }

    ))

  • cperry07 Profile Picture
    63 on at

    So when I add the ID:ID portion of the patch in, it fails and give a server response error and says the record cannot be found.

     

    cperry07_0-1649696576681.png

    This is the list that's populating my gallery and the Item() portion of the gallery.

     

    cperry07_1-1649696614848.png

     

    This is the list i'm trying to patch the record into.

     

    cperry07_2-1649696644452.png

    This is the error i'm now running into

     

  • cperry07 Profile Picture
    63 on at

    Hello,

     

    Was following up to see if you maybe have an idea to the error I mentioned regarding the server response?

     

    Thank you!

     

    Chris

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 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard