cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RickBojahra
Level: Powered On

Model App refresh after sub-gid

I have a model app that is using a sub-grid to perform an Order Header/Order Detail type entry format

So the header (Order) is the primary form

Sub-Grid (Order Detail) is placed on a tab on the form

 

I am updating the sub-grid (detail records) and would like a value on the main (Header) table to be updated then the form refresh to show this value.   Think grand total of detail lines entered.

 

I have tried using a flow to update the header record (Total) which works, but the main form is not refreshed.

 

Is there a way to update the main screen when the sub-grid is changed?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Model App refresh after sub-gid

Hi @RickBojahra ,

 

Try to embed a canvas app in the model driven form, then refresh the host form from the embedded canvas app using formula:

ModelDrivenFormIntegration.RefreshForm(false)

or

 

ModelDrivenFormIntegration.RefreshForm(true)

 

For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-actions

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Model App refresh after sub-gid

Hi @RickBojahra ,

 

Try to embed a canvas app in the model driven form, then refresh the host form from the embedded canvas app using formula:

ModelDrivenFormIntegration.RefreshForm(false)

or

 

ModelDrivenFormIntegration.RefreshForm(true)

 

For more information, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-actions

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,636)