Wednesday, November 28, 2012

Enabling you published Sharepoint Site -Full Site - on mobile phones and tablets



One interesting feature of SharePoint 2010 is that it automatically shows a nice mobile experience when mobile devices browse the site. There is no need to type in the mobile URL (by appending /m to the URL).

                While this is terrific for intranet sites, its less than ideal for public internet sites, especially ones that have a lot of custom branding. In those cases, typically you would want smart phones like the iPhone , Android phones to see a standard rendering of your site. So, how do we turn off the automatic mobile experience? There doesn’t appear to be a setting for this in the Site Settings or in Central Administration.

Solution:
Turns out you need to edit the “compat.browser” file for your SharePoint site. To find this file, look in your IIS directory for your SharePoint site and look for the App_Browsers folder. Mine file was located at: C:\inetpub\wwwroot\wss\VirtualDirectories\2020\App_Browsers\compat.browse

This file has settings for MANY popular browsers, including most mobile browsers, so I located all tags looking like “<capability name="isMobileDevice" value="true" />” and changed the value property to “false” .

now when I browse my SharePoint site I see the standard branding, just like the desktop full site version

No comments:

Post a Comment