Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Unanswered

Navigate() from an embedded canvas app: The specified property is not accessible in this context

(1) ShareShare
ReportReport
Posted on by 613
 
I want to embed a canvas app on a main form of a model driven Power App .  The app has buttons which enable or disable depending the presence of related records.
 
So say I want to create a new related record and navigate to the relevant main form, so that it is ready to be completed by the user.
 
Looks to me like I am hitting a limitation - If a add the same navigate button to a Custom Page in the same model driven app , I don't get the error.   I have tried all the tables added as a datasource to canvas app and all give the same error.
 
 
 
 
  • westerdaled Profile Picture
    westerdaled 613 on at
    Navigate() from an embedded canvas app: The specified property is not accessible in this context
    Ivan
     
     
    Great suggestion and useful resource but my client wanted an embedded app on the main form,  and not a custom page which I have built for them for another requirement
  • westerdaled Profile Picture
    westerdaled 613 on at
    Navigate() from an embedded canvas app: The specified property is not accessible in this context
    MichaelFP
     
    Sorry for the delay but all my previous attempts to reply were blocked, so I am trying FireFox instead of Edge.
     
    Anyway, back to your suggestion: I get this error
     
  • MichaelFP Profile Picture
    MichaelFP 1,564 on at
    Navigate() from an embedded canvas app: The specified property is not accessible in this context
    use Lauch() instead of navigate for canvas app, you will be able to create the record and open into a new tab, and will not lose the context of the app.
  • ivan_apps Profile Picture
    ivan_apps 2,187 on at
    Navigate() from an embedded canvas app: The specified property is not accessible in this context
    You could try a Launch() function and see if that works. You would have to get your environment URL passed in and it would open a new tab but maybe thats sufficient. 
     
    I assume theres a special reason you aren’t using the MDA subgrids, as that function is built-in & customizable using the Ribbon Workbench.
     
    An alternative is to replace the entire form with a Custom Page, Scott Durow has a how-to video here: https://youtu.be/99uU5gGN15w?si=Pmda0CUQS7gPFV83
     
    you can replace the form with a custom page and  then use the Navigate(Defaults()) method.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics