16.2. Targeting Devices with Variations

WSS 3.0 comes with built-in mobility support, which is intended to enable mobile users to access list data. The typical way to access this is via one of the two following URLs:

http://server/site/m
http://server/site/_layouts/mobile/default.aspx

Note that the first, simpler syntax is disabled by default in Publishing sites, but it can be re-enabled by activating a Feature called MobilityRedirect using the STSADM.EXE command:

stsadm -o activatefeature -name MobilityRedirect -URL http://URL

List views can be designated as "mobile" in the regular view editing screen, and these views will be offered to mobile users as well as regular Web browsers. Further customization of the rendering of mobile views is possible, but is beyond the scope of this book.

For more information on mobile device customizations in WSS 3.0, refer to the official documentation on MSDN: www.andrewconnell.com/go/263.

In reality, this is most useful in collaborative environments. In Publishing sites, variations are a more useful tool for adapting authored pages to a mobile format.

16.2.1. Creating Variations for Mobile Devices

Creating a mobile device variation is as simple as creating any other variation label. Typically, the source and target variations have the same locale ID because there is no need to localize the user interface. In addition, developers may want to disable approval and the approval workflow, and set to major versions only, so that the target variation ...

Get Professional SharePoint® 2007 Web Content Management Development: Building Publishing Sites with Office SharePoint Server 2007 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.