Mobile devices and SharePoint 2013-part 2nd: Device Pipelines and SharePoint page models

Source: Internet
Author: User

Blog Address: Http://blog.csdn.net/foxdave

Original address

In this series of articles, the author shows an overview of the most significant new features of SharePoint 2013-Support for mobile devices. This series of articles:mobile Devices and SharePoint 2013-part 1th: Overviewmobile Devices and SharePoint 2013-part 2nd: Device Pipelines and SharePoint page models
Device Channels

Nowadays it is too common to browse websites on mobile devices, and SharePoint sites should be highly readable and easy to use on smartphones and other mobile devices such as tablets.

In previous versions of SharePoint, SharePoint automatically generated a single default phone view based on existing sites, and the default phone view was not easy to customize. Now, applying device channels in SharePoint 2013, you can use different designs for different devices based on a single publishing site.

Create a site to author content once, and then sites and content can be mapped to different master pages, page layouts, and style sheets for specific devices.

Limit:

This feature is available only on publishing sites.

There are 10 device channels per site collection.

Each device channel contains 150 rules.

The publishing site for SharePoint 2013 optimizes mobile development . You can use the Device channel feature to define channels for one or more devices-giving you more precise control over how users experience your site.

You can assign an interactive master page to each channel and give it a unique chrome (note: Chrome doesn't quite understand what it means). You can choose to include or not include a portion of the page layout to preview the progress of the mobile channel design being developed. The device channel is search engine optimized (SEO).

You can use them to change the appearance of existing pages to support mobile scenarios, and you can use channels to force specific occurrences on a particular device-forcing the channel. This is useful when you define render output for a specified mobile device.

Mobile Backup Device Channel

If your target is for all mobile devices, then you can insert the following string as "Device inclusion Role":

$FALLBACKMOBILEUSERAGENTS;

Whether the device is recognized as a mobile device depends on

HttpContext.Current.Request.Browser.IsMobileDevice

property is in your Web application.

. browser

File-driven. For more information, see the MSDN article browser definition file schema (browsers Element).

How to configure a device channel

One. Open Design Manager

Two. Create a new device channel

Three. Edit the device channel

Four. Save the device channel

Five. Specify a master Page

Six. Site master page settings

Device channel Panel

The Device channel panel is a new control that you can include in the page to control which channel outputs what content.

It is a container that maps to one or more channels: when one or more channels are activated when the page is rendered, all the contents of the device's channel panel will be rendered. This helps you decide when a particular channel will contain a specific content.

The author mentions that there are some bugs, but based on the preview version, it may be fixed now.

Mobile Panel

Once you have created the device channel, you can also point to the channel through the move panel.

<publishing:mobilepanel runat= "Server" includedchannels= "iPad3" > <div>this content would only is shown on an I Pad 3. Cool!</div> </Publishing:MobilePanel>
A property called "Includechannels" allows the user to specify which channel the panel points to, and you can specify multiple channels (separated by commas). You can add query parameters by accessing the ? Devicechannel=devicechannelaliasThe page to test its appearance. such as Http://domain.com/pages/default.aspx?DeviceChannel=iPad3.

In the same way, the author says it has some bugs.

Extended Reading

now that you have read the device channels and channels panel, also read the SharePoint 2013 Page Model Overview , before you design a SharePoint site, you need to have a basic understanding of how SharePoint sites and pages are grouped together. This article provides some visual overview references for you to design your website.


Source: https://technet.microsoft.com/zh-cn/library/fp161351 (v=office.15)

http://blog.mastykarz.nl/device-channels-sharepoint-2013/

http://blogs.perficient.com/microsoft/2012/07/mobility-in-sharepoint-2013-device-channels/

http://blogs.perficient.com/microsoft/2012/07/mobility-mobile-panels-in-sharepoint-2013/

Mobile devices and SharePoint 2013-part 2nd: Device Pipelines and SharePoint page models

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.