SharePoint 2016:性能优化和高可用(十三,移动设备的支持)

SharePoint 2016:性能优化和高可用(十三,移动设备的支持)

  • 概述

移动设备的应用越来越广泛、功能也越来越强大。在智能手机或平板电脑设备上,SharePoint 2016为用户提供良好的体验非常重要。毫无疑问,移动设备非常复杂,因为移动设备支持各种操作系统和浏览器。SharePoint16 有几项支持移动用户的新功能,包括通过重定向自动提供智能手机视图,为平板电脑用户提供相同内容的不同布局,以及跟踪移动设备提供的位置数据的功能。

介绍内容如下;

  • 在SP 2016在移动设备方面的新功能。
  • 说明如何规划网站集和内容的移动设备访问。
  • 描述设备通道功能如何支持移动设备用户。
  • 适用于SHAREPOINT 2016的移动设备功能

SharePoint 2016具有多项功能,可为移动设备(如智能手机和平板电脑)提供更好的支持。这些功能包括:

  • 目前流行的移动设备视图。

The contemporary device view is a mobile view designed for smartphone devices that support HTML5.

  • 信息通知。

Users can subscribe to text message alerts for a mobile phone when SharePoint content updates.

  • 设备通道。

Device Channels enable designers to create different layouts for different types of devices, such as tablets.

  • 物理定位。

While a Geolocation field is available to lists in SharePoint Server 2016, it must be inserted programmatically because there is no user interface option for geolocation.

  • 推送通知。

Push notifications enable SharePoint to send notifications to applications that are built to use SharePoint data, such as a smartphone application.

  • 地理位置

地图视图是一个SharePoint视图,它使用来自Bing地图服务的数据,使用地理位置字段类型中的经度和纬度条目显示地图。当SharePoint列表上的地理位置字段类型可用时,您可以通过编程方式或从SharePoint UI创建地图视图。Geolocation字段旨在与Bing Maps服务一起使用。您可以使用它来显示地图图钉或突出显示本地区域中感兴趣的项目。必须在服务器场中的每个SharePoint Web前端服务器上安装SQLSysClrTypes.msi程序包才能显示地理位置数据。您还必须使用Bing Maps注册并执行以下任务,以查看Bing Maps服务中的地理位置数据:

  1. 创建开发者帐户。
  2. 创建身份验证密钥。
  3. 在服务器场,网站或应用程序级别的SharePoint中注册身份验证密钥。
  • 推送通知

推送通知要求设备向SharePoint站点注册,此时,事件处理程序代码可以与Microsoft推送通知服务进行交互。在站点上激活后,将创建订阅存储作为设备订阅的隐藏列表。该列表限制为2,000个订阅,此时,在删除旧订阅之前不会接受新订阅。

  • 移动体验

当您使用移动设备访问SharePoint Server 2016团队网站的主页时,您可以点击屏幕上的切片或链接来浏览该网站。您还可以从移动视图切换到PC视图,该视图显示客户端计算机上显示的网站页面。此视图也启用了触控功能。

  • 设备频道

要优化各种设备和屏幕格式(例如台式计算机,平板电脑和智能手机)的SharePoint浏览体验,您可以使用设备通道自定义每种类型设备的信息显示方式。

设备通道使站点设计人员能够指定不同的母版页,CSS和不同的图像,以便设备上显示的内容是相同的基本内容,但它的组织方式更适合设备的可用性和性能。根据浏览器提供的用户代理字符串选择设备通道。

  • 创建设备通道

您可以从网站集设置页面或使用“设备管理器” 创建设备通道。创建设备通道时,应配置以下设置:

  • 名称。

This is a friendly name to identify the channel.

  • 别名。

Use the alias when you configure customization for the channel, such as a custom master page. If you change the channel alias later, you will need to manually update master page mappings, device channel panels, and any custom code or markup.

  • 设备包含规则。

Use rules to specify the user agent substring, which will automatically provide matching browsers with content that is formatted by the channel. For example, setting Windows Phone 7.5 as the user agent would match only Windows Phone 7.5 devices, but setting Windows Phone as the user agent would match Windows Phone 7, Windows Phone 7.5, and Windows Phone 8 devices.

  • 活性。

The active setting selects whether automatic redirection for the channel is turned on. Setting the channel to inactive can be useful for initial configuration and testing before activating the channel.

  • 描述。

This is an optional field to provide a description for the channel.

 

在SharePoint 2016中,每个站点最多可以存储10个设备通道。但是,设备通道存储在排序列表中。排名对于针对用户代理字符串的规则的评估顺序很重要。例如,如果您首先在列表中放置具有Windows Phone OS的设备包含规则的频道,并且在列表中放置具有Windows Phone OS 7.5的设备包含规则的频道,则永远不能使用第二个设备频道,因为所有Windows Phone OS代理直接指向第一个通道。

注意:设备通道仅适用于已激活SharePoint Server发布基础结构功能的站点。

您还可以创建设备通道面板,使特定内容仅在特定设备通道上呈现,例如站点的桌面版本。这是通过在页面的相关部分中插入Included Channels HTML属性来实现的。

下图描绘了两个网页都具有相同的URL。但是,第一个网页较宽并显示图像,箭头表示此页面适用于笔记本电脑。其他网页更窄,没有图像,箭头表示此页面显示在平板电脑设备上。

猜你喜欢

转载自blog.csdn.net/jason_dct/article/details/81905449