Skip to main content
17-Peridot
June 20, 2019
Solved

How to distinguish between mobile phones client and pad client ?

  • June 20, 2019
  • 2 replies
  • 1203 views

Hi , 

The customer need to kinds of mobile clients:  mobile phone and iPad.   If login with mobile phone then display less content than iPad,  so the home page will be different.  

 

I know that Thingworx can set a Mobile mashup for a user , the questions are : 

  1. Is it possible to define two mashups , one for mobile phone ,another one for iPad ? 
  2. if Thingworx can only has one mobile mashup,  how does the mashup knows the request comes from mobile phone or iPad so than I can hide/adjust certain widget according to the device flag ?

  

 

Regards,

Sean

Best answer by slangley

Hi @seanccc.

 

The 8.4 versions of ThingWorx have a new option when creating Mashups:  Advanced Responsive, that will provide greater flexibility around your design for a variety of display types.  Many of the widgets that are available with this option are still in beta, however.

 

In regard to your questions, you could create separate mashups for desktop vs. mobile, but there is no way to distinguish between the type of mobile device.  Advanced Responsive should scale to fit both of the mobile devices you mentioned.

 

Once you review the information on Advanced Responsive, please let us know if you have further questions.

 

Regards.

 

--Sharon

2 replies

slangleyCommunity ManagerAnswer
Support
June 21, 2019

Hi @seanccc.

 

The 8.4 versions of ThingWorx have a new option when creating Mashups:  Advanced Responsive, that will provide greater flexibility around your design for a variety of display types.  Many of the widgets that are available with this option are still in beta, however.

 

In regard to your questions, you could create separate mashups for desktop vs. mobile, but there is no way to distinguish between the type of mobile device.  Advanced Responsive should scale to fit both of the mobile devices you mentioned.

 

Once you review the information on Advanced Responsive, please let us know if you have further questions.

 

Regards.

 

--Sharon

Support
June 28, 2019

Hi @seanccc.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon