cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JayashreeKrish
Resolver II
Resolver II

Navigation in Embedded Canvas App

I have a question regarding canvas app. There is a canvas app embedded in power apps.
I want to move to another tab of model driven app by clicking cancel in canvas app. Is this something achievable ?
Can u please help me with this ?

JayashreeKrish_0-1632832427548.jpeg

 

 

8 REPLIES 8
StalinPonnusamy
Super User
Super User

Hi @JayashreeKrish 

 

This is not achievable. Powerapps knows the context but can't navigate to another tab. Another option will be refreshform(false)

JayashreeKrish
Resolver II
Resolver II

Okay Thanks @StalinPonnusamy 

I have simple text fields in canvas app and not a form, thats why it can not refresh.

StalinPonnusamy
Super User
Super User

Hi @JayashreeKrish 

 

Sorry I meant to refresh to Model drive app. So that loads and defaults to tab1 like

[@ModelDrivenFormIntegration].RefreshForm(false)

 

StalinPonnusamy
Super User
Super User

Hi @JayashreeKrish 

 

Another option is to Navigate to the same record like

[@ModelDrivenFormIntegration].NavigateToMainForm("Contact","Contact",[@ModelDrivenFormIntegration].Item.contactid)

 

I am sorry that didnt work either.Please let mw know if u have any options Thanks much @StalinPonnusamy 

StalinPonnusamy
Super User
Super User

Hi @JayashreeKrish

 

Does it throw any error? or nothing happens?

 

Definitely ,anyways  thanks much for the help 🙂

Hi @StalinPonnusamy  🙂
 
I have added these on "OnSelect" property of a button
 
 'There was a problem loading the record' error while using other command - 

[@ModelDrivenFormIntegration].NavigateToMainForm("ddi_cases","DD Investigation Form",[@ModelDrivenFormIntegration].Item.ddi_id)

 

 

 

Nothing happens with refresh command - [@ModelDrivenFormIntegration].RefreshForm(false)

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,836)