Thursday, October 4, 2012

Disable Mobile access in SharePoint 2010

In this article we will discuss about how to disable mobile access in SharePoint 2010, so that mobile users will able to see the original version of the site rather than the mobile version of the site.

Also you can check out:

- Communities in SharePoint 2013

- SharePoint 2013 JavaScript Client Object Model Example

- SHAREPOINT\System account in SharePoint 2010

Recently I came accross a situation where my client wants to see the original version of the site rather than the mobile version of the site, whenever wants to see from mobile. By default SharePoint 2010 has a good feature for mobile users. If any request comes from mobile users then SharePoint will redirect the user to the mobile version of the site.

There will be 2 URLs for a site collection one is the Site URL and another one is the Mobile Site URL. If you will go to the site settings page then you will able to see the details in the Site Information section as shown in the figure below.

There are some modifications needed to disable the mobile access URL.

For this Open the directory C:inetpubwwwrootwssVirtualDirectories80App_Browsers

Inside that there will be a file called as compat.browser. Open that file using Notepad.

Now find for <capability name="isMobileDevice"  value="true" />

And Replace the above line with
<capability name="isMobileDevice" value="false" />

Then do an IISRESET which is very much important.

Now it should work.

No comments:

Post a Comment