Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

How to setup dynamic serving of SAPUI5 applications based on User Agent ?

$
0
0


Dynamic serving is required to be setup where the server responds with different HTML (and CSS) on the same URL depending on the user agent requesting the page.

 

We require redirection to a BSP application based on the User Agent of the incoming request. For example : If the User Agent is iPad/Android/...any mobile/tablet device it should open one BSP application say :

sap/bc/ui5_ui5/sap/mobile_version and if the user agent is laptop/desktop device then it should open another BSP application : sap/bc/ui5_ui5/sap/desktop_version.

 

The User Agent property is part of the request header.




Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>