Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a qlikview report in full version (detailed) & lite version (less data). Is its possible to redirect the users if they login from mobile browser (Safari/Chrome) in Ipad/Iphone to lite version and if they login from desktop to full version? EX: websites are redirected automatically to mobile version if they open it from mobile. if so, please tell me the process & steps to achieve this.
Thanks in Advance
Hi
Would the ClientPlatform() function help you ?
Using that you could show / hide the Full / Lite sheets as per your needs.
You would also then only need one qvw dashboard.
Best Regards, Bill
Hi Bill, Thanks for your reply.
ClientPlatform() is not working from load script. Can be used from load script?
Ex: - Let vClient = ClientPlatform(); Returns nothing.
Hi,
it is correct that ClientPlatform(), returns nothing when you run script. However you need to test this function in server in order to work. You can test it by setting a conditional in sheet properties. Something like this:
wildmatch(Clientplatform(), '*Mobile*') --> this is for the sheet(s) you want to show just in Mobile
and
not wildmatch(Clientplatform(), '*Mobile*') --> this for sheets you want to show in desktop devices
I use wildmatch, because i'm not sure really how every client is detected when accessing QlikView. I just tested it and it works,
regards
I dont think you will be able use the ClientPlatform() in your loadscript. The ClientPlatform() will always returns an empty string for Desktop.
Also the function will only return the client type for those clients using the QVPX protocol, that is the mobile clients and the AJAX client.
Hi,
refer to the attached example,
mount it on your root folder in server and try to open it on a mobile device and then on a desktop PC. I tested it using mobile Chrome and "Desktop" Chrome. Depending on the device, you will see a different tab in the qvw document,
regards
Thanks all for your replies. my target is to reduce data based on mobile or desktop accesspoint. not show or hide tabs.
what am trying to achieve is one qvw document with 2 yrs data. When I open it from desktop browser I should be able to see 2 yrs data and when I open it from mobile I should able to see 1 yr data. I tried to reduce the data using clientplatform() if its mobile browser, but looks like I cannot do this way. Is any other option available?
is it possible to host 2 different apps? may be based on same datamodel but a skinned down version for mobile?
1. May be you can have the flag for mobile. While opening the dashboard enable or disable the filter the data for the environment.
Hope you are trying to reduce the data to improve the performance.
How do I find find its mobile or desktop? any suggestions?