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 / Possible to Have A Col...
Power Apps
Answered

Possible to Have A Collection and Text Input Boxes Post to One SharePoint List?

(0) ShareShare
ReportReport
Posted on by

Good morning! I have a PowerApp that is working quite well in and of itself, but at the moment it's posting to two different SharePoint lists, with the thought of trying to use PowerAutomate to combine two SharePoint lists together. Is there a way to forego that altogether within PowerApps? 

 

Applications_1-1654783364980.png

 

At the moment the collection posts to this SharePoint List:

Applications_2-1654783405026.png

And the Text Input Boxes post to this SharePoint List:

Applications_3-1654783443476.png

 

But I would like to forego the PowerAutomate step of the process and just have both of those elements post to this SharePoint List instead:

Applications_4-1654783495746.png

 

Is this possible? Thanks!

 

Edit: Here is my formula for it to post:

 

Set(varRecordID, Patch('Shopping Cart Orders', Defaults('Shopping Cart Orders'), {Title: Name.Text, 'Building Location': Building.Text, 'Seat Location': Seat.Text, Email: Email.Text, 'Phone Number': Phone.Text}).ID); Collect('Shopping Cart Ordered Items 2', AddColumns(colUserShoppingCart, "OrderID", varRecordID)); Reset(Name); Reset(Building); Reset(Seat); Reset(Email); Reset(Phone); Clear(colUserShoppingCart); Navigate(Screen2)

Categories:
I have the same question (0)
  • Applications Profile Picture
    on at

    When changing the formula to this:

     

    Set(varRecordID, Patch('Full Inventory Order', Defaults('Full Inventory Order'), {Title: Name.Text, 'Building Location': Building.Text, 'Seat Location': Seat.Text, Email: Email.Text, 'Phone Number': Phone.Text}).ID); Collect('Full Inventory Order', AddColumns(colUserShoppingCart, "OrderID", varRecordID)); Reset(Name); Reset(Building); Reset(Seat); Reset(Email); Reset(Phone); Clear(colUserShoppingCart); Navigate(Screen2)

     

    This was the result when posting:

    Applications_0-1654784139389.png

     

  • Applications Profile Picture
    on at

    Anybody have any thoughts on how to accomplish this, or if it's even doable? Thank you!

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Applications ,

     

    Please try:

    Collect(
     'Full Inventory Order', 
     AddColumns(
     colUserShoppingCart, 
     "OrderID",
     varRecordID
     "Building Location",
     Building.Text,
     "Seat Location",
     Seat.Text,
     "Email",
     Email.Text,
     "Phone Number",
     Phone.Text
     )
    ); 
    Reset(Name); 
    Reset(Building); 
    Reset(Seat); 
    Reset(Email); 
    Reset(Phone); 
    Clear(colUserShoppingCart); 
    Navigate(Screen2)

    or

    Collect(
     'Full Inventory Order', 
     ForAll(
     AddColumns(
     colUserShoppingCart, 
     "OrderID",
     varRecordID
     ),Patch(ThisRecord,{Title: Name.Text, 'Building Location': Building.Text, 'Seat Location': Seat.Text, Email: Email.Text, 'Phone Number': Phone.Text}))
    ); 
    Reset(Name); 
    Reset(Building); 
    Reset(Seat); 
    Reset(Email); 
    Reset(Phone); 
    Clear(colUserShoppingCart); 
    Navigate(Screen2)

     

    Best Regards,

    Bof

  • Applications Profile Picture
    on at

    The first one worked, thank you so much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard