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 / Adding items to a coll...
Power Apps
Answered

Adding items to a collection in the same row

(0) ShareShare
ReportReport
Posted on by 1,257 Super User 2024 Season 1

So I have a multi screen app that the user fills in items one page at a time.

 

Is it possible to do the following.

 

At the end of page 1 they save the data in a collection something like this 

 

ClearCollect(
 MyCollection,
 {
 Column1: "Value 1", //this is a unique ID
 Column2: 123,
 Column3: true
 }
)

 

 

When they complete the items on page 2  I would like to add them to the same collection, same row.  Is this possible?  As you can see Column1 on page 1 is a unique identifier.   

 

I don't want to wait till the end of page 2 to collect all of the items from page 1 and 2 because this is an offline app so there could be a gap between when they save the items on page 1 to when they do the same for page 2 and also they could even close it down... (obviously I'm also loading to a local data to allow this) but I just was wondering if the above is possible?

 

Would I achieve it by patching to the collection? or is there a more efficient way to do this?

 

TIA

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,541 Most Valuable Professional on at

    You would need to do two things for this to work.

    1) You would need to create the blank collection with all the columns first so that you can establish the schema. Once a collection is created you can't append new columns.

    2) You can then Patch() a record into the collection without patching all the fields.

    3) You would need one column in the collection that could be used as an identifier for patching items on page 2 and following so that you can patch the existing record.  In your sample this would be Value 1

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    great, It was your point 1 I didn't realise.  So I guess I could create the blank schema on start so that it's already...

     

    Thanks for the info

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard