Being left to your own Device Channels in 2013
By Randy Drisgill
September 11, 2012 —
(Page 2 of 2)
By default, your new Device Channel is set to
Follow Default Channel
, which means it will just show the same master page as everything else. To see it in action, you can apply another master page for the Chrome channel. If you don’t have a custom master page (and why the heck not!? You can go create one easily with the Design Manager now. I’ll wait...), you can apply the Oslo master page for this test. It’s very similar to the default master page, but it hides the Quick Launch navigation.
Once you have applied Oslo for
. Now, if you browse back to the home page (or any page that doesn’t use the System Master Page), you will see a different master page for Chrome than you will in any other browser.
This was a pretty simple test, but I think you could imagine the possibilities. For example, you could have specific master pages targeted to Android, iOS or Surface tablets that tailor the UI for each device.
Device Channels can also be used in other ways besides User-Agent strings and master pages. Here are a few:
– Aspects of the UI can be changed based on custom code conditions
– A Device Channel cookie can be set that switches the UI automatically based on the value of the cookie
Device Channel Panel
– Specific parts of a master page or page layout can behave differently based on a Device Channel through the use of
, which can specify one or more
for SharePoint to look for.
– You can pass a URL query string of
to a page, and it will behave as though that page was visited by the specified device. This can be helpful for testing specific Device Channels if you don’t have the device in question.
That’s about it for Device Channels. Hopefully you find them useful when creating SharePoint sites that adapt to various browser types. For bonus points, feel free to use Device Channels along with CSS3 Media Queries to target device feature attributes (like height, width, resolution and orientation) to change CSS styles also!
Randy Drisgill is a SharePoint MVP, and the branding and design lead consultant at SharePoint911, a Rackspace company.
Share this link:
NewsGator announces Social Sites 3.0 and SharePoint 2013 Compatibility
Lookout interface provides innovative way to tame, consume and interact with information deluge in social business networks
Planning your search strategy is more important than ever
Enabling everyone in your organization to find content within seconds creates big ROI potential.
SeeUnity R3 release includes support for Microsoft SharePoint 2013
Enterprise software developer announces support for SharePoint 2013 across entire product line
This site's content Copyright © 1999 - 2013 by BZ Media LLC, All rights reserved.
Legal and Privacy
Phone: +1 (631) 421-4158 • E-mail: