Sitecore Devices

Sitecore Devices

Device

  • A logical representation of something that can send HTTP requests
  • Allows the layout engine to apply different layout details to content depending on the properties of the incoming HTTP request
  • Developers typically create a separate layout for each device

Device Detection

  • Query strings
  • Known browser agent strings
  • Custom .NET logic

Device Examples

  • Web Browsers are usually detected through the use of browser agents
  • Printers are usually detected through the use of query strings (?p=1)
  • Mobile devices are usually detected through the use of browser agents
  • RSS Readers are usually detected through the use of query strings (?r=1)

Sources