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 a record to a s...
Power Apps
Unanswered

Adding a record to a subproperty array

(0) ShareShare
ReportReport
Posted on by

Hi all

 

I have a in memory Table which is as per below

 

ClearCollect(TaskGroupingData,{GroupName:"Task Group 1",Data:[{Title:"Task 1",Type:""},{Title:"Task 2",Type:""}]})

 

I then user a Gallery inside a Gallery to represent this data with the GroupName shown on the outer group and the Data shown on the inner group. All working fine so far.

 

Now, I want to add more records to the Data Array when the user click a plus button. I can't seem to find a way to adjust that Data Array apart from replacing it. I've tried Patch that didn't work

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

    Use UpdateIf(TaskGroupingData.Task Group 1,SomeIdentifier,{Title:"ADataCardValueControlOrSomethingElse",Type:"AdataCardValueControlOrSomethingElse"},{Title:"Task 2",Type:""}]}))

     

    Try it out.

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 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard