I understand Experience Manager's Device Preview lets users choose a device to set:

  • userAgent
  • orientation
  • width
  • height

This can be seen in devices.xml.

<device name="Apple iPhone 5" icon="device.appleiphone5">
    <userAgent>Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25</userAgent>
    <orientation type="portrait">
    <orientation type="landscape">

The Context Engine Cartrdige includes properties for:

  • Browser aspect, which includes:
    • displayHeight
    • displayWidth
  • Device aspect, which has device properties for:
    • displayHeight
    • displayWidth
    • mobile, tablet
  • OS aspect

    1. How does the Device Preview width and height relate to the Context Engine's aspects?

    2. How close the Device Preview get us to mimicing an actual device? By using Device Preview in XPM, should SmartTarget and contextual

Ian Homer has a great explaination of how the Context Engine has a User Agent Parser. What I'm not sure on is if the other Resolvers can "see through" the preview feature (e.g. "this really isn't an Apple iPhone 5").

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.