How to disable mobile view in SharePoint 2010


A common question by our customers is to disable de mobile view of SharePoint 2010. The simple interface is just to simple for advanced devices we use nowadays. There are multiple ways to disable the mobility feature in SharePoint 2010. To disable the mobile view for all devices you can use the first described method (especially used for publishing websites), if you just want to disable the view for specific devices use the second method.

Modifications to the web.config file

Pros

  • Single modification for all devices
  • Can be part of a SharePoint solution (using code)
  • Not overwritten during Service Pack / Cumulative update

Cons

  • No individual handling

Go and edit the web.config file of the site (e.g C:\Inetpub\wwwroot\wss\VirtualDirectories\<webapp>)

Add the following code to the configuration/system.web node

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

Or you can modify the compat.browser

Pros

  • Individual handling of mobile devices / browsers
  • Can be part of a SharePoint Solution (using code)

Cons

  • Overwritten during service pack

Go and edit the compat.browser file of the site (e.g C:\Inetpub\wwwroot\wss\VirtualDirectories\<webapp>\App_Browsers)

Modify isMobileDevice to false.

<capability name="isMobileDevice" value="false"/>
Advertisements

About Cloud Architect Joran Markx
I have been working on Microsoft Technology since 2003. In addition to (lead) developer and software architect, I am certified Microsoft Specialist and active in design and implementation of Hybrid Cloud platforms. In 2011 I have achieved a Master of Science in IT Management. This made me capable to solve complex issues from the business in an efficient and structured way. As Cloud Architect I am working on various challenging projects with a variety of clients. Within my organisation I fullfill a leading role when it comes to internal development and sharing of knowledge. My goal is to provide reliable and predictable services to our clients with a strong focus on the results achieved for the organisations I am working for.

4 Responses to How to disable mobile view in SharePoint 2010

  1. anil says:

    It’s not working in publishing site.

  2. Worked like a charm.

  3. pornjeds says:

    Reblogged this on Pornjed's Blog and commented:
    Disable mobile view in SharePoint 2010

  4. almereyda says:

    It worked for me after I deleted the tag from the tag type attribute.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: