cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Loading device specific layouts on PowerApp

Hi All,

 

Is there a way to make Power App loading layouts based on device on which it is opened ?

So if i use it on Desktop/Tablets then it should open layouts specific to that and if i open the app on mobiles then the layout designed for mobile view should be loaded.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Responsive Resident
Responsive Resident

Re: Loading device specific layouts on PowerApp

Unfortunately, that is correct. Following is from the PowerApps coding standards white paper:

 

"When you make the same PowerApps app target both phone and tablet layouts, first create one version of the app, run it through testing, and finalize it. Then convert it to the other version before you modify the layout and screens. This approach helps guarantee that your expressions, controls, variables, data sources, and so on, all have the same names. Therefore, it’s much easier to support the apps and develop them".

 

Of course, this approach does not make it easy to maintain the app, as any changes will need to be done to both apps. The white paper also links to a blog for instructions on how to do the above:

How to convert a PowerApp from one layout to another

View solution in original post

3 REPLIES 3
Highlighted
Responsive Resident
Responsive Resident

Re: Loading device specific layouts on PowerApp

Adapting to different screen sizes is currently not a strengh of power apps. There was some announcment a while ago that this feature is being added, but that hasn't happened yet.

Highlighted
Helper IV
Helper IV

Re: Loading device specific layouts on PowerApp

@Mike2500

Thanks Mike,

So if i am not wrong, the only way is to develop 2 apps. One targeted for Mobile device and other for Tablets/Desktops ?

Highlighted
Responsive Resident
Responsive Resident

Re: Loading device specific layouts on PowerApp

Unfortunately, that is correct. Following is from the PowerApps coding standards white paper:

 

"When you make the same PowerApps app target both phone and tablet layouts, first create one version of the app, run it through testing, and finalize it. Then convert it to the other version before you modify the layout and screens. This approach helps guarantee that your expressions, controls, variables, data sources, and so on, all have the same names. Therefore, it’s much easier to support the apps and develop them".

 

Of course, this approach does not make it easy to maintain the app, as any changes will need to be done to both apps. The white paper also links to a blog for instructions on how to do the above:

How to convert a PowerApp from one layout to another

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (5,607)