Tuesday, November 27, 2007

MOSS in a Mobile Device

Among several new features in MOSS 2007, a fairly interesting one is the support for Mobile devices.
MOSS 2007 uses "mobile views" to provide built-in support for mobile devices. To view a site in mobile mode, use the following:
http://siteurl/_layouts/mobile/default.aspx.
A shortcut for the same is: http://siteurl/m, provided the Site is mobile enabled.
If not, in this case you may see a "page not found" kind of error, you may enable this feature using the below command:
stsadm -o activatefeature -name MobilityRedirect -url http://siteurl/
By default, the redirect feature is supported for any Web site that is based on standard STS site definition.
This feature for redirecting users to the mobile home page can be found in the following directory:
Local_Drive:\12hive\TEMPLATE\FEATURES\MobilityRedirect
(I'm sure you know what I mean by 12hive :-), for those newbies it is the new location on the file system where you install MOSS. In default install location, it is:
Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12)

Every list and library in MOSS 2007 or WSSv3 is capable of hosting ‘Mobile Views’. These are standard views of lists or libraries that an administrator has defined as being mobile enabled. You can also view individual list items in mobile form.
To mobile enable any list/views, use the same interface that is used to modify the views, filters, groups etc. as shown below:

No comments: