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

Notifications

Announcements

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

Forum hierarchy changes are complete!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard