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 Automate / Using Collect with mul...
Power Automate
Answered

Using Collect with multiple forms to go into a single record in Sharepoint List

(0) ShareShare
ReportReport
Posted on by 6

I have a Sharepoint List that forms the basis of my App. The List has around 50 columns.

The App allows people to go through various checks before they open a venue.  It has several edit forms with fields created from this list spread over several screens.

It's basically 50 questions... and go can never answer the same question twice so there is only a single entry for each column.

What I want to do is have a button on each screen that says 'Next'. This adds the results from the form on that screen to a collection called DailyCheck (so the app can work offline).

I can do this easily enough using the following code in the OnSelect of the Next button

Screenshot 2023-02-01 at 14.13.50.png

Problem is, with each new screen and each new form it creates a new record / row in the collection so I end up with multiple records in my collection. The first edit form asks for the venue, and the second edit form (Button OnSelect code shown above) asks for the name, job title, date & headliner

 

Screenshot 2023-02-01 at 14.15.28.png

What I need is for them all to be merged into a single record so at the end of filling in all the forms I can "Submit" the collection to a single record on my sharepoint list and easily process further.

 

Any suggestions would be gratefully received.

 

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @simonbarrington ,

     

    I made a sample for you.

    1\ Create an empty collection with all columns you need.

    vxiaochenmsft_3-1675304805998.png

     

    ClearCollect(Col,{Col1:"Test1",Col2:"Test1",Col3:1});Clear(Col);Collect(Col,{Col1:TextInput1.Text})

     

    2\ Create second button in second screen

    vxiaochenmsft_1-1675304681558.png

     

    3\ Third screen

    vxiaochenmsft_2-1675304729233.png

     

    Result:

    vxiaochenmsft_4-1675304829446.png

     

    Best Regards,

    Wearsky

  • simonbarrington Profile Picture
    6 on at

    Hey Wearsky

     

    This is great. A lot of inputting to do, but it works and has solved a lot of issues I have coming up in the future.

     

    Bests

     

    Simon

     

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 Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard