Skip to main content
Oct 23, 2019 11:23 AM UTC
Question

How to differentiate between Pad and PC ?

Hi ,

How to differentiate between Pad and PC  in thingworx ?  I set the Home Mashup and Mobile Mashup separately, but it always display the Home Mashup instead of the Mobile Mashup when I use Pad to login , whatever using iPad or android Pad .    

 

Why do I need to differentiate between Pad and PC ?  Because of  the bug https://community.ptc.com/t5/ThingWorx-Developers/Critical-Issue-Collection-widget-CANNOT-scroll-in-Android-Pad/m-p/628184#M39411  ,  I have to create Static mashup for Android Pad and another mashup for PC. 

 

version--

Thingworx  8.4.2

Android Pad / iPad / Chrome / Safari /Firefox. 

 

Regards,

Sean

7 replies

Oct 23, 2019 1:45 PM UTC

If it is not detecting and redirecting properly, then I would log it as a bug in support.ptc.com

seancccAuthor
Oct 25, 2019 4:31 AM UTC

@PaiChung ,

 

yes, it's not detected properly. please help to open a ticket .  Thanks 

 

Regards,

Sean

Oct 25, 2019 12:16 PM UTC

@seanccc  I just created a support case on your behalf and will contact you via separate email regarding this issue.

 

Thanks,

Vibhuti

Nov 29, 2019 5:49 PM UTC

My 2 cents on this issue: it seems you're using for access either the /Thingworx endpoint that makes use of ThingWorx's automatic device detection.
Until that gets fixed, I suggest to use a direct Mashup link for the user as the main entry point. IE: for iPad users: https://thingworxurl/Thingworx/Mashups/PadMashup and for Desktop users: the same, but pointing to the DesktopMashup.
Generally I'm using this approach for any Mashups, since I want to have full control on what the users will see. Another reason is that I've seen in some cases the browser user agent header is modified by the user, and it threw off the auto-detection.

Hope it helps