Tips & Tricks - Automatic forwarding dependent on the end device
For this method to work correctly, a desktop as well as a mobile layout needs to have been configured.
Different to the usual approach, a page that serves as a switching point needs to be created first. This page needs to be viewable on all device types. Therefore, a mobile view page is created via the page wizard. Two buttons are added to this page. The destination of the first button should be the page for desktops, and the destination of the second should be the page for mobile devices. Both buttons are moved to the hidden area. In addition, a clear notification is required that informs the user that they are being forwarded automatically.
Differentiation via Velocity
The query used here, can be used to show the button via a conditional display, which is then triggered later. This means you can provide the user with the ability to click on the button if the forwarding does not work correctly or takes too long. In this case, the two buttons are not moved to the hidden area but left on the workspace.