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 / 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard