web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building 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)

I have the same question (0)
  • Applications Profile Picture
    on at
    Re: Possible to Have A Collection and Text Input Boxes Post to One SharePoint List?

    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
    Re: Possible to Have A Collection and Text Input Boxes Post to One SharePoint List?

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

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Possible to Have A Collection and Text Input Boxes Post to One SharePoint List?

    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
    Re: Possible to Have A Collection and Text Input Boxes Post to One SharePoint List?

    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

Coming soon: forum hierarchy changes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard