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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,526)