Saturday, September 28, 2013

SharePoint Mobile Browser Configuration


Are you trying to access SharePoint site via any smartphone.

Here are steps to implement:
 

1. Disable-SPFeature -Identity MobilityRedirect -Url http://[site name]


2. Add following snippet to web.config file

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


3. Go to C:\inetpub\wwwroot\wss\VirtualDirectories\<site>\App_Browsers\compat.browse

Add the following line

<capability name=”isMobileDevice” value=”false” />

No comments:

Post a Comment