cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Joel_Stanley
Frequent Visitor

Deeplink within app

Hey all,

 

I've setup my app to deep link from a QR code to a certain screen on my app, but how can I set my app to deeplink to other screens within the app using the apps QR code reader? (eg use apps QR code reader, scan the QR code, and it directs you to a different screen without having to close the app and use a 3rd party QR reader).

 

Thanks in advance.

3 REPLIES 3
StalinPonnusamy
Community Champion
Community Champion

Hi @Joel_Stanley

 

  • Add parameter to the link like Param1=somevalue
https://apps.powerapps.com/play/2082100d-0000-0000-0000-996b984e1b44?tenantId=heacb8c3-000-0000-0000-d45c69b0f889?Param1=SomeValue
  • On the app start. Navigate screen based on the parameter value

 

 

With(
   {sNavigation:Param("Param1")},
   Switch(
      sNavigation,
      "1" , 
      Navigate(Screen1,ScreenTransition.None), 
      "2" , 
      Navigate(Screen2,ScreenTransition.None)
   )
)

 

 

Hey @StalinPonnusamy This works if I'm using the QR code from outside the app, but not within for screen to screen which is my issue

StalinPonnusamy
Community Champion
Community Champion

We can do a similar code OnScan property like

Set(
    DisplayName,
    BarcodeScanner1.Value
);
Switch(
      DisplayName,
      "1" , 
      Navigate(Screen1,ScreenTransition.Fade), 
      "2" , 
      Navigate(EditScreen1,ScreenTransition.Fade)
   )

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,138)