Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Pass variables between model driven app forms / entities.

I need to pass a value between forms in a model driven app.  When my entity form loads I need to capture a value from the record and put it in a variable.  The form also loads a subgrid of related records.  When the user clicks on a related record, we navigate to the main form for that record.  I need to have the variable that I populated from the original form to be available so that I can perform some business logic on the related record form.  Can't find documentation on this.


I've tried putting the variable in the execution context with setSharedVariable and then getSharedVariable from the next form, however it says the variable is undefined even though I know it's not.


Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,170)