cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikfikrie92
Advocate I
Advocate I

Lauch PowerApps Link to open specific screen

Hello, I have created my PowerApps and use MS Flow to send the email content with a link to launch the specific screen in my application. Is it possible to create a link that will open the directly to the screen when I clicked on the link provided? I already use OnTimerEnd option but will go to the first page and then after a few seconds, it will navigate to the screen which is not good practice for our apps. 

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
PavanKumar
Responsive Resident
Responsive Resident

Hi,

 

Yes you can navigate to specific screen as per your requirement.

In the Powerapps URL at the end add &screenID=1 (Screen IDs you can define as your wish)

 

Within your Canvas app, App --> Onstart property enter the following formulae

 

Set(startScreen,Param("screenID")); //Read ScreenID Parameter

Switch(startScreen, "1", Navigate(Screen1),"2",Navigate(Screen2)); //Navigate to corresponding screen as per the ID

 

Hope this answers your question.

 

If it answers please mark it as verified.

Regards,

Pavan Kumar Garlapati

View solution in original post

7 REPLIES 7
PavanKumar
Responsive Resident
Responsive Resident

Hi,

 

Yes you can navigate to specific screen as per your requirement.

In the Powerapps URL at the end add &screenID=1 (Screen IDs you can define as your wish)

 

Within your Canvas app, App --> Onstart property enter the following formulae

 

Set(startScreen,Param("screenID")); //Read ScreenID Parameter

Switch(startScreen, "1", Navigate(Screen1),"2",Navigate(Screen2)); //Navigate to corresponding screen as per the ID

 

Hope this answers your question.

 

If it answers please mark it as verified.

Regards,

Pavan Kumar Garlapati

View solution in original post

Hi,

 

That actually work for me thanks for that. By the way, is it possible to add another parameter in the link? I would like to add item also like this.

 

?ItemId=293&&screenID=1

Hi ,

Use &itemid=229&ScreenID=1.

Mark it as verified it it answered your question
Regards,
Pavan kumar Garlapati

Hi, 

Thank you so much for a great solution and suggestion!

 

Regards,

Nik

Need some help with this.

 

I can get the links to the different screens to work when I paste the different URLs directly in the browser URL, BUT when I embed the PowerApp link directly into a SharePoint modern page, the switching does not work.

 

Any ideas why the behavior would be different on a SharePoint page vs. direct link?

Anonymous
Not applicable

How do you define a screen id or find what the id is for a screen?

viyer
Helper I
Helper I

Hello Everyone,

 

I am trying to achieve the same and able to navigate to Display screen , only issue I am facing is desired item Id details is not getting displayed in Display screen (even though I am passing ID from Url). Always the first item in list is getting displayed in Display screen irrespective of ID passed in URL.

 

I have used BrowseGallery to display my items . Is there any way to bind BrowseGallery with item ID. Also item ID is automated ID assigned to items by sharepoint.

 

Let me know if anyone know the solution for this.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (74,492)