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 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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,006)