Skip to content

Change the SharePoint 2010 Mobile View to Full Site View & Allow Anonymous Users on All Mobile Devices

by on July 2, 2012

If you have a public facing site, or just want a consistent branding experience, you can change SharePoint to display the normal site version rather than the mobile compatible version to all browsers.

Anonymous Users Can’t Access Mobile Version of SharePoint

For public facing sites, you also have the issue that the mobile version does not work with anonymous users! Not good. By removing the redirect to mobile the login prompt should no longer appear if your site has been configured to allow anonymous users.

This will also help remove errors on the iPhone, iPad, Android, etc.

Turn Off Mobile Redirect for A Specific Mobile Browser

  1. Go to web front end
  2. travel to C:\inetpub\wwwroot\wss\VirtualDirectories\80\App_Browsers (where 80 is the appropriate site collection root folder)
  3. Make a backup of “compat.browser” called “compat.browser.orig”
  4. Open the file “compat.browser” with notepad (or other editor)
  5. find the appropriate mobile browser definition (such a iPhone)
  6. change “isMobileDevice” to “false”image
  7. save and test

Turn Off All Mobile Redirect for Web Application

  1. Add the code below to the system.web node of the web.config file (NOTE: This eliminates the ability to detect all mobile browsers).
  2. <browserCaps>
        <result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <filter>isMobileDevice=false</filter>
    </browserCaps>

Advertisements
Leave a Comment

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: