Skip to main content
17-Peridot
October 23, 2019
Question

How to differentiate between Pad and PC ?

  • October 23, 2019
  • 2 replies
  • 2208 views

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

2 replies

22-Sapphire I
October 23, 2019

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

seanccc17-PeridotAuthor
17-Peridot
October 25, 2019

@PaiChung ,

 

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

 

Regards,

Sean

16-Pearl
October 25, 2019

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

 

Thanks,

Vibhuti

19-Tanzanite
November 29, 2019

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