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 ...
随机推荐
- Lining.js - 为CSS提供 ::nth-Line 选择器功能
在CSS中,我们使用 ::first-line 选择器来给元素第一行内容应用样式.但目前还没有像 ::nth-line.::nth-last-line 甚至 ::last-line 这样的选择器.实际 ...
- REST API出错响应的设计
REST API应用很多,一方面提供公共API的平台越来越多,比如微博.微信等:一方面移动应用盛行,为Web端.Android端.IOS端.PC端,搭建一个统一的后台,以REST API的形式提供服务 ...
- Jackson序列化和反序列化Json数据完整示例
Jackson序列化和反序列化Json数据 Web技术发展的今天,Json和XML已经成为了web数据的事实标准,然而这种格式化的数据手工解析又非常麻烦,软件工程界永远不缺少工具,每当有需求的时候就会 ...
- [New Portal]Windows Azure Virtual Machine (23) 使用Storage Space,提高Virtual Machine磁盘的IOPS
<Windows Azure Platform 系列文章目录> 注意:如果使用Azure Virtual Machine,虚拟机所在的存储账号建议使用Local Redundant.不建议 ...
- IIS发布网站遇到的异常
1.0 HTTP 错误 401.3 - Unauthorized由于 Web 服务器上此资源的访问控制列表(ACL)配置或加密设置,您无权查看此目录或页面.详细错误信息模块 IIS Web Core通 ...
- The conversion of a varchar data type to a datetime data type resulted in an out-of-range value
刚刚有在程序中,传递一个空值至MS SQL Server数据库,这个值的数据类型为DATETIME执行时,它却发生了如标题提示的异常:The conversion of a varchar data ...
- MEF入门之不求甚解,但力求简单能讲明白(三)
上一篇我们已经获得了制定类型的实例,但我们还无法对其进行有效的控制. 我们用ExportMetadata属性可以对具体的某个实例做标记,相当于命名.这么理解不知道对否. 在IPart项目中添加一个接口 ...
- android版高仿淘宝客户端源码V2.3
android版高仿淘宝客户端源码V2.3,这个版本我已经更新到2.3了,源码也上传到源码天堂那里了,大家可以看一下吧,该应用实现了我们常用的购物功能了,也就是在手机上进行网购的流程的,如查看产品(浏 ...
- Map遍历两种方式
Java代码 Map<String,String> map=new HashMap<String,String>(); map.put("username" ...
- 解决SublimeCodeIntel回车换行误打代码
SublimeCodeIntel会自动匹配并联想词汇, 这在换行的时候非常麻烦, 每次点Enter 都会误打出代码, 解决办法分两步:第一步是在Perferences/setting User 中加入 ...