cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lilywhite63
Helper II
Helper II

Navigate function

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.

 

6 REPLIES 6
AJ_Z
Super User
Super User

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

If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !

Lilywhite63
Helper II
Helper II

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

 

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

 

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

 

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.

 

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.

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

 

 

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!

DianaBirkelbach
Super User
Super User

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

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,556)