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 / Save multiple text inp...
Power Apps
Unanswered

Save multiple text inputs from a collection into a Sharepoint List

(0) ShareShare
ReportReport
Posted on by 4

Hi all,
I'm  working on an application to generate purchase orders, I have a list with the items (item number, description, accounting account) and another list in which the purchase orders should be saved, both are in sharepoint.

Currently in my application you can see the list of items (which is a gallery), from there I select the item or items and these are passed to a collection, within my collection the user must write what is needed (my boss requires it that way, to avoid having to work a more detailed list), so far everything works fine, the problem comes when I want to save the items, because it only takes the values of the text input of the first selected item.

Snag_22c1c90.png


Snag_22c43fd.png



Snag_22c6f34.png

Any idea or help is welcome, thanks.

Categories:
I have the same question (0)
  • turnerj3 Profile Picture
    2,039 on at

    Will it allow you to use ThisRecord.Item.Text?

  • cha_cha Profile Picture
    4,932 Moderator on at
    Hello @S
    For this to work:
     
    (1) On your Collecion1, add a column that stores boolean (true/false value), we can name it valCheck
     
    (2) Whenever you make changes to the Checkbox1.value, it should be stored on Coleccion1 like valCheck
        Example:
    OnCheck: Patch(Collecion1,ThisItem, {valCheck: true})
    OnUnCheck: Patch(Collecion1, ThisItem, {valCheck:false})
     
     
    (3) On your ForAll code, filter it like this
        ForAll(
    Filter(
    Collecion1,
    valCheck=true
    ),
    ... Your Patch code ...
        )
     
  • SCastillo Profile Picture
    4 on at

    Hi, thanks for replying, but it won't let me, I get error 😞

  • SCastillo Profile Picture
    4 on at

    Hi, thanks for your answer, I think I explained wrong, I have no problem with the selected items, no problem passing them from the gallery to the collection, the problem is when I want to save the text that is contained in the text input 😞

    SCastillo_0-1685464320000.png

     

  • turnerj3 Profile Picture
    2,039 on at

    Double check and make sure the textbox is inside your gallery.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard