SharePoint 2010 site - Mobile View

Find this file, look in your IIS directory for your SharePoint site and look for the App_Browsers folder. Mine file was located at:

C:\inetpub\wwwroot\wss\VirtualDirectories\portal.contoso.com80\App_Browsers\compat.browse

 


Option 1 - Modify the compat.broswer file

<capability name="isMobileDevice" value="true" />

 
for each device in the file located at your Web Application system file location e.g.
C:\inetpub\wwwroot\wss\VirtualDirectories\nbsp80\App_Browsers\compat.browse.
To:

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


For each device in the file. I actually tried this and did a find replace on all.

Option 2 - Modify the web.config file


For this fix in the web.config file. Simply add this block in the 'configuration/system.web' child elements:

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


No comments:

Powered by Blogger.