cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to differentiate between Pad and PC ?

Pearl

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-...  ,  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 7

Re: How to differentiate between Pad and PC ?

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

Re: How to differentiate between Pad and PC ?

@PaiChung ,

 

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

 

Regards,

Sean

Re: How to differentiate between Pad and PC ?

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

 

Thanks,

Vibhuti

Re: How to differentiate between Pad and PC ?

@seanccc  We have a bug open for this issue for R&D investigation. I have provided the details related to this same to you via the support case email.

 

Thanks,

Vibhuti

Re: How to differentiate between Pad and PC ?

Hi Sean, 

 

The Home Mashup will open in Computer and Pad, and the Mobile Mashup will open in Smartphones after using FormLogin.  I think it dependents on Screen Resolution or other stuff.

 

The real different for Pad and computer, is that when you're creating a static Mashup, you can choose to use different screen size to fit in your devices used in production.   When a full sized mashup designed in Computer displayed in a Pad, the widgets will shrink and some scroll-bars will show up, to fit the demands, a Pad size mashup should be used.

Re: How to differentiate between Pad and PC ?

@seanccc  Just an update- Along with the JIRA opened for further R&D investigation, we have also documented this scenario in this article

 

Thanks,

Vibhuti

Re: How to differentiate between Pad and PC ?

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

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________