Skip Ribbon Commands
Skip to main content

Xadean's Empirical Musing

:

Quick Launch

Xadean's Empirical Musing > Posts > Change the SharePoint 2010 Mobile View to Full Site View & Allow Anonymous Users on All Mobile Devices
April 02
Change the SharePoint 2010 Mobile View to Full Site View & Allow Anonymous Users on All Mobile Devices

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"
  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).

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

 

References:

http://office.microsoft.com/en-us/sharepoint-server-help/configure-a-sharepoint-site-for-mobile-devices-HA102895211.aspx

http://chayadigital.wordpress.com/2012/07/02/change-the-sharepoint-2010-mobile-view-to-full-site-view-allow-anonymous-users-on-all-mobile-devices/

Comments

There are no comments for this post.

Add Comment

Title


Body *


CAPTCHA *

Attachments