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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,604)