Question

Modify one Portal for Mobile and Desktop Views

Hi,

I would like to know whether it is possible to modify one portal so that it can be viewed differently in Mobile view and Desktop view (Maybe by circumstancing).

I have referred this https://community.pega.com/knowledgebase/articles/whats-new-pega-platform/generate-primary-navigation-web-interface-83.

Currently, I have to modify two separate sections for the same user.

TIA

Correct Answer
October 28, 2019 - 7:21am

It depends on what exactly you want:

1. If a data model presented on the screen would be the same, then your solution is in a skin rule - add responsible breakpoints to your dynamic layout style.

2. If you'd like to present a completely different UI for a Mobile user, you can use OOTB when rule "pyIsMobilePhone". And based on that, show one section and hide another

Comments

Keep up to date on this post and subscribe to comments

October 28, 2019 - 7:21am

It depends on what exactly you want:

1. If a data model presented on the screen would be the same, then your solution is in a skin rule - add responsible breakpoints to your dynamic layout style.

2. If you'd like to present a completely different UI for a Mobile user, you can use OOTB when rule "pyIsMobilePhone". And based on that, show one section and hide another

October 29, 2019 - 4:41am
Response to vaspoz

It worked. Thanks