25 April, 2010

SharePoint Mobile Views !!

Windows SharePoint Services 3.0 as well as Microsoft Office SharePoint Server 2007 provides in-built support for mobile access to SharePoint list data. Mobile devices access a site through URL that simply adds an "m" folder to the regular URL. http://Server/sites/SiteCollection/Site/m/, with "m" appended to the regular Web site URL, they are redirected to a mobile default.aspx page.

As soon as we enters the above URL in the browser then it will redirects to this URL: http://Server/sites/SiteCollection/Site/_layouts/mobile/mbllists.aspx. which is a actual mobile home page (mbllists.aspx) to display the list of contents.

After digging out more and little RnD on my Sharepoint Server, Found out an internal mechanism that supports Mobile Views. Basically, there are 2-main components that supports mobile views or you will get your mobile aspx page.
1. Templates:The Template which is used for Mobile views is called as "MobileDefaultTemplates.ascx"
You can find the same from this location: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES directory.

2. Features:
The Feature for redirecting users to the mobile home page is located in the following directory:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\MobilityRedirect
Note: As per Microsoft recommendations/ Best Practices--Modifying the contents of the MobileDefaultTemplates.ascx file is not supported..
Please let me know in case of any queries !! I hope the above information will helps you to get some insight regarding Mobile Views,Thanks !!

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.