Sharepoint学习笔记—习题系列--70-576习题解析 -(Q52-Q55)
Question 52
You are responsible for rebranding the My Sites section of a corporate SharePoint 2010 farm. The new branding includes a change to the Quick Launch menu in all corporate My Sites pages. You do not have access to modify any master pages. Also, the new branding is not yet finalized and might need to be reverted. You need to ensure that the Quick Launch menu is updated in all corporate My Sites pages, using the least amount of workforce effort. Which approach should you recommend?
A. Use client-side code to inject your modifications into the rendered page.
B. Use a feature that includes a delegate control with a lower sequence number than the default My Site Quick Launch Delegate.
C. Manually modify the navigation under Site Settings for each My Site page.
D. Write and execute a Power Shell script that will iterate through each My Site and modify the navigational settings.
解析:
你负责为Sharepoint2010场内的My Sites设计新的风格,其内容包括为所有的My Sites页面改变Quick Launch Menu,但你无权对母板页进行修改,并且此新风格并不是最终版本,你有可以会对所作的修改恢复到以前状态,你需要采用最少的工作量来达到此目标。
本题是关于如何自定义快速启动显示的题,根据微软的文档,Sharepoint中可以通过如下方式自定义快速启动显示:
1. 通过修改部署的母板页文件(本地驱动器:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL)中指定的导航控件的属性,可以修改“快速启动”的显示。【修改方式】
2. 通过 Microsoft.SharePoint.WebControls.DelegateControl 类,您可以指定自定义数据源控件以为“快速启动”导航提供节点。通过候选委托控制指定的控件可确定用作“快速启动”的数据源的提供程序,该提供程序可位于数据库或代码中。此类型的自定义将更改显示的节点,而不会修改显示链接的方式。【替换方式】
由于本题你无权修改母板页,而备选项中,只有选项B是采用了Delegate Control方式,所以,选项B是正选。
至于其它备选项:
选项A. Use client-side code to inject your modifications into the rendered page.
Quick Launch Menu是服务器端控件显示,你几乎无法做到在客户端对其进行全面更改。
选项C. Manually modify the navigation under Site Settings for each My Site page.
本选项所做的修改只是可以影响到Quick Launch Menu中的导航链接,而影响不以其外观风格设计。所以也应该排除。
选项D. Write and execute a Power Shell script that will iterate through each My Site and modify the navigational settings.
本选项首先比较麻烦,其次也影响不到Quick Launch Menu的外观风格设计。所以也应该排除。
因此本题答案应该选 B
参考
http://office.microsoft.com/en-us/sharepoint-server-help/configure-the-quick-launch-for-site-navigation-HA102130960.aspx#_Toc278884000
http://office.microsoft.com/en-us/sharepoint-server-help/configure-navigation-items-on-the-site-navigation-settings-page-HA010118190.aspx
http://msdn.microsoft.com/en-us/library/ms466994(v=office.14).aspx
Question 53
Your company is rebranding its corporate extranet SharePoint 2010 site. The new design requires the site’s global navigation to use nonstandard fonts for both the top-level and secondary drop-down menus. You need to ensure that the new branding is rendered consistently in all browsers supported by SharePoint 2010. Which approach should you recommend?
A. Specify the CssClass of the SharePoint Asp Menu control.
B. Specify the DynamicMenuItemStyle property of the SharePoint Asp Menu control to render the text as an image.
C. Use a theme to specify the font in the design.
D. Develop a custom menu control to render the text as an image.
解析:
你的公司需要重新设计其Sharepoint2010外部网风格,此新设计需要改变网站的全局导航,针对全局导航的最顶级和第二级下拉菜单部分将会使用非标准的字体,而且你需要保证此改变支持所有不同类型的游览器。
首先,本题提到了要支持不同类型的游览器,所以仅凭修改CSS是不足以满足此要求的,所以选项A被排除。
其次,由于要求使用到了非标准的字体,所以通过修改主题Themes也是无法实现的,因为Themes的设置均是基于标准字体操作的,选项C应该被排除。
最后,使用 DynamicMenuItemStyle 属性用于控制动态菜单中的菜单项的外观,它也影响不到对非标准的字体的应用。
只有重新创建一个用户自定义菜单控件,并且把非标准的字体绘制成图片方式嵌入呈现,这样才能既适合多浏览器,也呈现了非标准的字体。
因此本题答案应该选 D
参考
http://msdn.microsoft.com/zh-cn/library/ms366731(v=vs.80).aspx
http://msdn.microsoft.com/en-us/library/bb814983(v=office.12).aspx
Question 54
You are designing a maintenance plan for a SharePoint 2010 intranet site. You have the following requirements:
.The site has 25 custom content types and 5 document libraries. One of the document libraries has more than 1,000 documents.
.Every document in the site is associated with one of the custom content types.
.Each document library has a single view, showing the name of the document and the person who last modified it.
.Private views are not permitted in the site.
.The site is used for collaboration and does not have any of the SharePoint publishing features enabled.
You need to enable users to filter the documents in the large document library by content type. Which approach should you recommend?
A. Activate the Metadata Navigation and Filtering feature. Modify the metadata navigation settings for the document library by adding Content Type to the list of selected hierarchy fields.
B. Create a new site scope for each content type. For each scope, add a rule of type Property Query. Set the Property Restriction to include any item with the name of the content type of the scope.
C. For each content type, create a new Web Part using the Content Query Web Part. Configure the Web Part to filter the documents in the document library by that content type.
D. Go to the site navigation page and enable the Tree View option. Use the Tree View option to filter the documents in the document library.
解析:
本题需要你设计一个Sharepoint2010网站维护计划,满足如下要求:
要求1. 此网站有25个用户自定义内容类型和5个文档库,其中一个文档库包含有超过1000个文档。
要求2. 网站内的每一个文档都与上述的某个用户自定义内容类型关联。
要求3. 每一个文档库都有唯一的视图,显示文档的名字以及谁对此文档作的最后修改
要求4. 网站内不允许创建文档库的私人视图
要求5. 网站用于协作,并不包含任何Sharepoint发布功能。
你需要能通过内容类型对大容量文档库进行过滤。
下面分析各备选项:
选项A. Activate the Metadata Navigation and Filtering feature. Modify the metadata navigation settings for the document library by adding Content Type to the list of selected hierarchy fields.
元数据导航和筛选提供一种按项元数据筛选 Microsoft SharePoint Server 2010 列表视图的方法。列表所有者可以使用此功能将列表上的字段提升为关键导航字段,并且查看这些列表的用户会看到一个筛选用户界面 (UI),这些用户可通过该界面对当前列表视图进行筛选以显示在这些字段中具有所需值的项。元数据导航和筛选使用列表级索引以支持无缝的浏览体验 — 即使在包含数千万个项的非常大的列表中。此功能通过确保当项在多个字段中带有适当标记时,这些项比未带标记的列表视图项更易于被检测到,提升对元数据和标记的使用。所以,本选项为本题的答案。
选项B. Create a new site scope for each content type. 为每个内容类型设置作用域,其目的是确保网站内容类型可供在其上创建该内容类型的网站以及任意子网站中的列表和文档库使用。
For each scope, add a rule of type Property Query. Set the Property Restriction to include any item with the name of the content type of the scope. 通过设置Property Query条件来过滤网站内容。
在本题,你不可以为每个内容类型设置作用域,因为题目中提到25个用户自定义内容类型均与网站内的每一个文档都关联,也就是说,所有的内容类型都是全局性的,不会细化到低级层次的范围。仅此就可以排除本选项了。
选项C. For each content type, create a new Web Part using the Content Query Web Part. Configure the Web Part to filter the documents in the document library by that content type.
我们知道Content Query Web Part只有在publishing site的网站模板中才可以使用,而本题要求5说到不包含任何Sharepoint发布功能,所以本选项也应该被排除。
选项D. Go to the site navigation page and enable the Tree View option. Use the Tree View option to filter the documents in the document library.
导航部分的树形视图并不直接支持对文档库内容的过滤查询,它的主要作用是通过树形视图展示导航链接,所以与本题无关。
因此本题答案应该选 A
参考
http://msdn.microsoft.com/en-au/library/ff394509(v=office.14).aspx
http://blog.sharepointrx.com/2010/11/03/limiting-the-search-scope-using-contentclass-in-a-property-query-scope-rule/
http://msdn.microsoft.com/en-us/library/ff650512.aspx
http://msdn.microsoft.com/en-us/library/ee559293(v=office.14).aspx
Question 55
You are designing a SharePoint 2010 intranet site. Each department has its own site collection. A link to each of the departments must appear in the global navigation for each site collection. You have implemented the SharePoint Asp Menu control in the master page. Your design must specify the correct provider for the menu control. Which provider should you recommend?
A. SPContentMapProvider
B. SPSiteMapProvider
C. PortalSiteMapProvider
D. SPXmlContentMapProvider
解析:
你在设计一个Sharepoint2010网站,包含多个部门网站集,你需要在全局导航上显示导航到各部门网站集的链接,你在母板页上应用了Sharepoint的Asp Menu控件,你的设计必须为此控件提供正确的Provider,那么你应该选 哪一个Provider呢?
根据微软的文档: 你可以使用SPXmlContentMapProvider 突破网站集限制来扩展导航,,即通过XML来定制SPXmlContentMapProvider 类,因为SPXmlContentMapProvider 类是一个基于XML的网站地图提供器,它可以从一个标准网站地图中读取导航结构。Sharepoint使用SPXmlContentMapProvider 类为存放在_layout文件夹下的应用程序页面提供导航结构。
正因为SPXmlContentMapProvider 类是从XML文件获取导航结构,所以它不像SPContentMapProvider[选项A]与SPSiteMapProvider[选项C],它可以不受网站集的限制。你可以在XML文件中包含与当前网站集不同的其它网站集的URIs。
你有两个途径使用XML去定制化SPXmlContentMapProvider 类
• You can create a custom site map. 你可以创建一个定制的网站地图
• You can create a site map that will be merged into SharePoint's site map. 你可以创建一个可以合并到Sharepoint网站地图的网站地图
需要注意的是:Sharepoint没有提供用户界面来让你管理SPXmlContentMapProvider 类所定制的网站导航结构,如果网站结构非常复杂,而使用SPXmlContentMapProvider 类就会让相关管理工作显得比较困难了。
选项A.B在上面已经说明,它们不能突破网站集限制。
选项C. PortalSiteMapProvider 在命名空间Microsoft.SharePoint.Publishing.Navigation中定义,主要用于发布网站的导航定制,且它并不能跨不同的网站集,再加上本题并不仅限于发布网站。所以应该排除。
因此本题答案应该选 D
参考
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.navigation.spxmlcontentmapprovider.aspx
http://msdn.microsoft.com/zh-cn/library/microsoft.sharepoint.navigation.spcontentmapprovider.aspx
http://msdn.microsoft.com/en-us/library/ms473030.aspx
http://msdn.microsoft.com/en-us/library/ms570756.aspx
http://globalnavigation.codeplex.com/
Sharepoint学习笔记—习题系列--70-576习题解析 -(Q52-Q55)的更多相关文章
- Sharepoint学习笔记—ECM系列—文档列表的Metedata Navigation与Key Filter功能的实现
如果一个文档列表中存放了成百上千的文档,想要快速的找到你想要的还真不是件容易的事,Sharepoint提供了Metedata Navigation与Key Filter功能可以帮助我们快速的过滤和定位 ...
- Sharepoint学习笔记—ECM系列--文档集(Document Set)的实现
文档集是 SharePoint Server 2010 中的一项新功能,它使组织能够管理单个可交付文档或工作产品(可包含多个文档或文件).文档集是特殊类型的文件夹,它合并了唯一的文档集属性以及文件夹和 ...
- Sharepoint学习笔记—习题系列--70-576习题解析 --索引目录
Sharepoint学习笔记—习题系列--70-576习题解析 为便于查阅,这里整理并列出了70-576习题解析系列的所有问题,有些内容可能会在以后更新. 需要事先申明的是: 1. ...
- Sharepoint学习笔记—习题系列--70-573习题解析 --索引目录
Sharepoint学习笔记—习题系列--70-573习题解析 为便于查阅,这里整理并列出了我前面播客中的关于70-573习题解析系列的所有问题,有些内容可能会在以后更新, ...
- Deep Learning(深度学习)学习笔记整理系列之(五)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
- Deep Learning(深度学习)学习笔记整理系列之(八)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
- Deep Learning(深度学习)学习笔记整理系列之(七)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
- Deep Learning(深度学习)学习笔记整理系列之(六)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
- Deep Learning(深度学习)学习笔记整理系列之(四)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
- Deep Learning(深度学习)学习笔记整理系列之(三)
Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...
随机推荐
- 学习网页制作中如何在正确选取和使用 CSS 单位
在 CSS 测量系统中,有好几种单位,如像素.百分比.英寸.厘米等等,Web 开发人员很难了解哪些单位在何处使用,如何使用.很多人习惯了总是使用同一种单位,但这一决定可能会严重限制你的设计的执行. 这 ...
- 【Android】YUV使用总结 —— Android常用的几种格式:NV21/NV12/YV12/YUV420P的区别
工作问题接触到图像这一块,需要对手机摄像头采集的原始帧做Rotate或者scale,但无奈对此的了解少之又少,于是网上搜了一顿,完事后将最近所学总结一下,以方便之后的人别踩太多坑. 首先想 ...
- Web性能测试参数
1.前言 最近在项目中引入了keyless,需要测试一下对web的性能影响.常见的web测试工具有ab.siege.http_load等.我用的是Apache的ab测试工具.在测试web性能之前,首先 ...
- adb shell 查看系统属性(用来判断特殊的操作系统)
一般来讲,在android程序开发中进行需要判断设备类型和系统版本 1.设备类型判断(android.os.Build.MODEL) 比如判断属于Google Nexus 5,Nexus 7,MIUI ...
- JS魔法堂:再识ASCII实体、符号实体和字符实体
一.前言 相信大家都熟悉通过字符实体 来实现多个连续空格的输入吧!本文打算对三类HTML实体及JS相关操作作进一步的整理和小结,若有纰漏请大家指正,谢谢. 二.初识HTML实 ...
- ROS 不能再详细的安装教程
版权声明:本文为博主原创文章,转载请标明出处: http://www.cnblogs.com/liu-fa/p/5779206.html 关于ROS(Robot OS 机器人操作系统),估计看这个博文 ...
- 采用Kettle分页处理大数据量抽取任务
作者:Grey 原文地址: http://greyzeng.com/2016/10/31/big-data-etl/ 需求: 将Oracle数据库中某张表历史数据导入MySQL的一张表里面. 源表(O ...
- LeetCode - Balanced Binary Tree
题目: Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced bin ...
- 基础复习 关于JS
1,js是一门解释型语言,无需编译,编写js要知道当前对象有什么成员,未必所有成员都能点出来. 2,js大小写敏感,严格区分大小写. 3,弱类型语言,声明用var,字符串推荐使用单引号. 4,==要先 ...
- [DBW]格式化时间
Date.prototype.format = function(format) { //author: meizz let o = { , //月份 "d+": this.get ...