Disabling mobile redirection in SharePoint

For specify device

  1. Navigate to C:\inetpub\wwwroot\wss\VirtualDirectories\<SiteName>\App_Browsers
  2. Open file compat.browser with text editor, such as notepad
  3. Set <capability name=”isMobileDevice”                        value=”true” /> ‘s value to false for the userAgent matching the specify device that you would like to disable

Disable it for any device

  1. Open up web.config of the web application you looking to disable mobile redirection
  2. Added the following code snippet under the <system.web> section

Code snippet

<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 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