Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ig+syZlef1RTull1JFVqC9
Power Apps - Building Power Apps
Unanswered

Navigate from a Canvas Page to another Canvas Page inside a Model driven app

Like (2) ShareShare
ReportReport
Posted on 4 Dec 2023 13:37:21 by 24

I'm building a model driven app with a menu consisting in responsive Canvas Pages, one for each table and table forms for the detail page of each table. I'm using custom pages because I'm building an easier experience with custom filters, way faster to set compared to the default UI the table view.
For the moment, I'm only able to navigate to a specific record of the table: Navigate(ThisItem) and to navigate to the default view: Navigate(TableName).
Is there a way to move from one custom page to the other using the Navigate function?
Thanks in advance.

  • Suggested answer
    NeilKelly Profile Picture
    3 on 09 Aug 2024 at 15:26:34
    Navigate from a Canvas Page to another Canvas Page inside a Model driven app
    For Anyone who comes across this going forward, there is now a clear answer. 
     
    Either:
     
    Navigate('Custom Page Name');
     
    Or with Parameters:

    //Get Record

    Set(projectRecord, First(Project, etc));

     

    //Provide Record & Navigate

     Navigate(

    projectRecord,

    {Page: 'Custom Page Name'}

    );

     

    Then on Target Custom Page:

    use :

    Param("etn") to get passed entityname

    Param("id") to get passed entity id

     

    We cant pass in anything else, but hopefully this is all we need for most scenarios

     
     
  • francesco9 Profile Picture
    24 on 05 Dec 2023 at 12:12:54
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    I think I found a solution: I'm using the Patch function to create a record as the argument for the Navigate(). It works, takes me to the model driven app form. The only issue is that if I go back without saving it still create an empty records.
    To overcome this issue I'm trying detecting the empty records (checks if the primary name is empty with odata filter: new_name eq '') with a Power Automate flow and deleting it but the flow won't get triggered both in "create" and "update or create" mode. Any suggestion on how to fix this?

  • Kristian_Cole Profile Picture
    195 on 04 Dec 2023 at 18:03:28
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    Its a tricky one, I mean you could show/hide tabs with each of these canvas app within them based on the state of a field in the model driven but that involves more development. Attempting the pass data between canvas app and parent model driven app via javascript etc.

  • francesco9 Profile Picture
    24 on 04 Dec 2023 at 16:56:08
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    Another question I have: from the Cavas Page, if I wanted to create a new record how do I navigate the form to do so?

  • francesco9 Profile Picture
    24 on 04 Dec 2023 at 15:09:24
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    I know how to navigate from one screen to the other. I was looking for a way to navigate from a Canvas Page (each with a single screen) to the other so I can leverage the model driven app navigation instead of creating another navigation inside the Canvas Page.

  • Kristian_Cole Profile Picture
    195 on 04 Dec 2023 at 14:47:58
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    If you looking to navigate between canvas screens try this:

     

    Add a screen to a canvas app and navigate between screens - Power Apps | Microsoft Learn

     

    Navigating between actual canvas apps may prove difficult as they are self contained.

  • Kristian_Cole Profile Picture
    195 on 04 Dec 2023 at 14:42:04
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    Please post your Navigate expression code so far.

  • francesco9 Profile Picture
    24 on 04 Dec 2023 at 14:32:49
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    It works from the Canvas Pages to the model driven app form and view but I would like to know if it is possible to navigate from one canvas page to another canvas page. If yes, how?

    Edit: I just realized that " Navigate(PageName) " takes me to the selected custom page.

  • Kristian_Cole Profile Picture
    195 on 04 Dec 2023 at 13:54:30
    Re: Navigate from a Canvas Page to another Canvas Page inside a Model driven app

    Afternoon Francesco, what happens when you attempt to navigate at the moment?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard