How to disable SharePoint Mobile Views


Well, all of us must agree that SharePoint mobile views are for collaboration sites and cannot be used for publishing sites specially for Internet facing web sites. So what to do. You have 2 options now:

  1. Disable Mobile Views and use one master page for all pages as described in http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/
  2. Customize Mobile Views using Mobile Home page redirection as described in http://msdn.microsoft.com/en-us/library/ms441925.aspx.

I read on multiple blogs that you have to go to $:\inetpub\wwwroot\wss\VirtualDirectories\portal.contoso.com80\App_Browsers\compat.browse folder and disable mobile view per mobile browser. Yes you can do this but if you want to disable it for all mobile browsers, there is an easy way. You can disable it in your web.config by adding following in the section configuration/system.web:

<browserCaps>
  <result type=”System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/>
  <filter>isMobileDevice=false</filter>
</browserCaps>

Author: Akif

I am a techie who likes to explore new technologies and work on new ideas. My core technologies are SharePoint, MS CRM, Commerce Server and WRMS. So feel free to ask anything about them

2 thoughts on “How to disable SharePoint Mobile Views”

Leave a comment