Articles about European Sharepoint Hosting Service
SharePoint 2016 Hosting – How to Disable Mobile Browser View Across Sites In SharePoint Server 2016?
In this review, I will tell you about how to disable Mobile Browser View Across Sites In SharePoint Server 2016. Device channels were introduced in SharePoint 2013. Device channel allows us to map the created device channel to a device, based on its user agent and target custom master pages, specifically to the device. Thus, we can have one master page for iPhone while a different one for Blackberry and so on.
However, when we try to specify a master page for the device channel, we will get the below warning if Mobile Browser view is not disabled.
Now, we can disable Mobile Browser View feature across the sites in a site collection by running the below script in SharePoint 2016 Management Shell.
1 2 3 4 5 6 7 8 |
$SPWebApplication = Get - SPWebApplication - Identity "http://SharePoint2016" $SPSiteCollection = $SPWebApplication | Get - SPSite - limit all foreach($SPSite in $SPSiteCollection) { $SPWebs = $SPSite | Get - SPweb - limit all foreach($SPWeb in $SPWebs) { Disable - SPFeature - Identity "d95c97f3-e528-4da2-ae9f-32b3535fbb59" - url $SPWeb.URL - Confirm: $False - ErrorAction SilentlyContinue } } |
Now, Heading over to the Features section, we can see that the Mobile Browser View has been disabled.
Now, we can successfully specify the master page for device channel, as you can see on the following picture:
SharePoint 2016 Hosting Recommendation
HostForLIFE.eu’s SharePoint 2016 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2016 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2016 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2016 plans as well as dedicated SharePoint 2016 Foundation options.
Print article | This entry was posted by Peter on November 3, 2016 at 5:18 am, and is filed under European Sharepoint Hosting. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |