Is it possible to have canvas app navigation based on screen size&/or device type?
For example within a forward navigation button, if the device is a tablet then the user is taken to Screen A, but if the device is a phone the user is taken to Screen B.
Solved! Go to Solution.
Power Apps supports responsive design. It's a large topic but you can find out more here.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout
Essentially, you would write code that looks like this:
If (Screen.Size = ScreenSize.Small,
Navigate(PhoneScreen),
Navigate(TabletScreen)
)
Here's an excerpt from the help page...
This idea, once implemented and released, should be able to do what you want but I don't think it's possible yet.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Get-Device-Info-in-PowerApps/idi-p/3173
@ZabiBabar thank you. I will leave this up for a bit, to see if there is anyone who knows of a way.
If this is not an option, then I hope people vote for that idea you shared because this would help shorten development times for those who want to simultaneously maximize aesthetic and user efficiency.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Get-Device-Info-in-PowerApps/idi-p/3173
Yeah good luck, man! It has been under review for almost 3 years. Hopefully they get to it soon. Right now, what I think you could do is ask the at the startup whether
Or you could create two separate apps for Phone and Tablet. You can copy paste stuff easily between apps.
Knowing phone or tablet would be great. That would mean I could use it as a variable in navigations.
Yes, exactly.
Power Apps supports responsive design. It's a large topic but you can find out more here.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout
Essentially, you would write code that looks like this:
If (Screen.Size = ScreenSize.Small,
Navigate(PhoneScreen),
Navigate(TabletScreen)
)
Here's an excerpt from the help page...
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
193 | |
45 | |
45 | |
43 | |
35 |
User | Count |
---|---|
270 | |
82 | |
81 | |
73 | |
69 |