Developer forum

Forum » Development » isDesktop, isTablet, isPhone through API

isDesktop, isTablet, isPhone through API

Nuno Aguiar
Reply

Hi,

 

Is there an API method to know what the device is?

 

We need to develop some actions depending on the device, and instead of creating our code, we wanted to use Dynamicweb's.

 

Nuno


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

You can use PageView.Device [http://developer.dynamicweb-cms.com/api8/#Dynamicweb~Dynamicweb.Frontend.PageView~Device.html]

Best regards,
Mikkel

 

 

Votes for this answer: 1
 
Nuno Aguiar
Reply

Hi Mikkel,

 

Thanks, I was overlooking it.

 

Nuno

 

You must be logged in to post in the forum