Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 6uH59Tpd1499Zu0xIj2rtJ
Power Apps - Microsoft Dataverse
Unanswered

Navigate function

Like (1) ShareShare
ReportReport
Posted on 7 Jan 2022 14:33:03 by 84

Hi All

I have created a PowerApp with 3 pages: Screen1, Screen2 which are Custom pages and a third page which is from my DataVerse table. I have created two buttons on Screens 1 and 2 which navigate between each other - i.e. between custom pages but cannot get the same function to work when I try to navigate to the third screen which holds a list. When I click on the button and add the function OnSelect and the Navigate(  in the text bar the name of the screen\page does not appear. I have tried to use Defaults and I have saved and published a number of times so, as far as I know, it should be there!

Thank you for any help.

 

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on 11 Jan 2022 at 19:31:22
    Re: Navigate function

    Hi @Lilywhite63 , 
    If you are in a Custom Page and want to navigate to a list view of a table, you need the Navigate() with the name of the view.

     

    Choosing the Table name (Views)

    DianaBirkelbach_0-1641929015870.png

     

    Then pick the view name

    DianaBirkelbach_1-1641929103296.png

     

     

    The result:

    DianaBirkelbach_2-1641929126005.png

    Sometimes it takes a while until the intellisense works.
    And you need to add the reference to the table in the Data(sources) inside the custom page first.

    Hope this helps!


    Thanks @EricRegnier for the nice words and for bringing me in. 🙂

  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on 11 Jan 2022 at 08:30:26
    Re: Navigate function

    Hi @Lilywhite63,

    It can be achieved with the Launch function, for example:

    Launch("https://org.crm.dynamics.com/main.aspx?appid=437e8a53-f947-ec11-8c62-0022481182c8&pagetype=entitylist&etn=tablephysicalname", {}, LaunchTarget.Replace)

    The LaunchTarget.Replace param will open it in the same window where without will open in a new tab. More info: https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-param 

    BTW you can navigate to an model-driven form like described in this great article by @DianaBirkelbach.

     

    Hope this helps!

  • Ram Prakash Profile Picture
    5,166 Super User 2025 Season 1 on 11 Jan 2022 at 08:11:54
    Re: Navigate function

    Hello @Lilywhite63,

     

    Hope you are doing good.

     

    As per the your scenario, we can navigate between Screens, in your case it is SCREEN2 and SCREEN3.

     

    As the Third page is Model Driven App page you cannot find that name in the SCREEN2/SCREEN3.

     

    Try Using LAUNCH("URL")

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

     

     

  • v-jefferni Profile Picture
    on 11 Jan 2022 at 08:05:52
    Re: Navigate function

    Hi @Lilywhite63 ,

     

    I found a video may help you understand how to navigate from and to custom pages in Model driven apps:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/navigate-to-custom-page-examples#related-articles

     

    Below is the doc link for your reference as well:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/navigate-to-custom-page-examples#related-articles

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • Lilywhite63 Profile Picture
    84 on 07 Jan 2022 at 14:44:13
    Re: Navigate function

    Hello

    I've posted a snippet below - I hope you can see it!

    Screen2 and Screen3 are Custom pages but I have a page call Business Partner (which has a form and a view). I am testing at the moment but I would like to navigate from Screen2 (as an example) to Business Partner. Business Partner does have an ID of NewSubArea_0######

     

     

     

    Lilywhite63_0-1641566484034.png

     

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on 07 Jan 2022 at 14:37:34
    Re: Navigate function

    What is the name of the third screen your onselect should be something like Navigate(ScreenName) or Navigate('Screen Name')

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard

Featured topics