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 / PowerFX commands on su...
Power Apps
Unanswered

PowerFX commands on subgrid patching with data from main form in Model Driven App

(0) ShareShare
ReportReport
Posted on by

Hi there,

 

Any chance that there is support for using data from te main form and patch that to selected items in the subgrid? 

 

The scenario is that I have a table (subscriptions) with a subgrid embedded with all the active contacts, therefore I want to create a subscriber record. I use the method which Scott Durow posted for updating multiple items in the subgrid;

 

ForAll(Self.Selected.AllItems As Thisrecord, Patch('Subscribers',Defaults('Subscribers'),{Contact: Thisrecord,',Subscription:LookUp(Subscriptions,Subscription=GUID(Subscription))}));

 

The script above work perfect in a way that it create the subscription records, however it always links to the first subscription in the table. Basically what I want to achieve is that the Subscription marked in red, is being filled with the GUID from the main form. Any chance this is possible with PowerFX commands? 

I have the same question (0)

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard