Sharepoint学习笔记—习题系列--70-576习题解析 -(Q49-Q51)
Question 49
You are designing a SharePoint 2010 intranet site for a corporation. Your design must meet the following requirements:
.The homepage must contain a single Web Part that displays a view of a specific document library.
.Each employee must be able to create a persistent view of the list that would be filtered, grouped, and sorted based on their selection criteria.
Which approach should you recommend?
A. Create a new page for each employee and add the document library Web Part to the page. Instruct each employee to customize an individual view of the Web Part. Then select the Make Homepage button in the Page tab on the ribbon.
B. Create the site homepage. Deploy a copy of SharePoint Designer to each employee’s computer. Instruct each employee to use SharePoint Designer to customize the site homepage, including the view of the document library.
C. Create the site homepage. Add the document library Web Part to the page, with the Allow Editing in Personal View option selected. Instruct each employee to personalize the page in the browser and to customize an individual view of the Web Part.
D. Create the site homepage. Instruct each employee to edit the homepage in the browser, adding a copy of the document library Web Part to the page. Instruct each employee to customize an individual view of the document library in the new Web Part.
解析:
你需要设计一个Sharepoint2010公司网站,且满足如下要求:
要求1. 主页上有一个Web Part用于显示特定的文档库
要求2. 公司每个雇员能够创建列表的视图,此视图根据雇员选择的标准进行过滤、分组和排序。
选项A. 为每一个雇员创建一个新的页面,这很显然是不合理的作法,如果公司人员很多,流动性很大,个性化定制千差万别,这种作法简单就是恶性循环。
选项B. 为每个雇员计算机都部署Sharepoint Designer,并教会他们自己使用,这显然也是不合理的。
选项C. 创建一个主页,加入一个文档库Web Part到页面,设置此WebPart的Allow Editing in Personal View以支持雇员自定义列表视图。我们知道个性化设置是 Web 部件功能的基础。 它使用户可以对页上 Web 部件控件的布局、外观和行为进行修改或个性化设置。 个性化设置寿命较长:它们不仅在当前浏览器会话期间保留(与视图状态一样),而且还保留在长期存储中,这样用户设置也会保存下来,在以后的浏览器会话中使用。 所以,本选项通过开启Web Part的个性化设置来实现雇员对视图的控制是可行的。
选项D. 网站的主页不是哪个雇员都可以去修改的,它是系统管理员和开发人员负责的事情,所以本选项应该被排除。
因此本题答案应该选 C
参考
http://msdn.microsoft.com/zh-cn/library/k3w2y2tf(v=vs.100).aspx
http://msdn.microsoft.com/zh-cn/library/z36h8be9(v=vs.100).aspx
Question 50
You are designing a SharePoint 2010 application that creates a content type. You need to design the application so that users are not able to change the content type from within the SharePoint 2010 user interface. Which approach should you recommend?
A. Create a content type that is read-only and deployed as a feature.
B. Create a content type that is sealed and deployed as a feature.
C. Use SharePoint Designer 2010 to create a content type and uncheck Allow Modifications.
D. Use SharePoint Designer 2010 to create a content type that is read-only.
解析:
本题需要你避免用户有能力通过Sharepoint2010的用户界面去修改你所定义的某个内容类型。
很显然是与内容类型相关的题,SharePoint提供了一种机制,允许通过改变SPContentType或ContentType对象的ReadOnly 和Sealed属性来控制变更。因此,通过这些属性设置来阻止对内容类型的修改。
只读内容类型:用于警 告用户不应该对该内容类型进行更改。如果需要更改,用户必须关闭只读。
密封内容类型:用于更严格的控制。 无法通过SharePoint UI修改。必须是网站集管理员才可以通过OM修改成非密封。(通过 SPContentType类的Sealed属性)
所以,只读属性是可以通过用户界面去设定的,而本题要求避免用户有能力通过用户界面去修改。所以就剩下了Sealed属性。
选项C的作法其实也就是设置内容类型为Read Only,与选项D达到的目的一样。
因此本题答案应该选 B
参考
http://msdn.microsoft.com/zh-cn/library/aa543504(v=office.14).aspx
http://office.microsoft.com/en-us/sharepoint-designer-help/create-and-edit-content-types-HA101774775.aspx
Question 51
You are designing a site on SharePoint 2010. You need to design the site so that it meets the following requirements:
.Contributors must be able to use the SharePoint user interface to add, remove, and delete Web Parts only in a Web Part zone named Your Web Parts.
.Only site collection owners may add, remove, and delete Web Parts in a Web Part zone named Required Web Parts.
Which approach should you recommend?
A. Create a page layout with a Web Part zone named Your Web Parts that allows customizations. Create a Web Part zone named Required Web Parts that allows customizations.
B. Create a page layout with a Web Part zone named Your Web Parts that allows customizations. Create a Web Part zone named Required Web Parts that does not allow customizations with the desired Web Parts preloaded.
C. Create a page layout with Web Part zones that do not allow customizations and grant contributors full control to the site collection.
D. Create a Web Part page with a Web Part zone named Your Web Parts that does not allow customizations. Create a Web Part zone named Required Web Parts that allows customizations.
解析:
你设计一个Sharepoint2010网站,需要满足如下要求:
要求1. 参与者可以通过Sharepoint操作界面增,删,移除名为Your Web Parts的这个Web Part Zone中的Web Part。
要求2. 只有网站集所有者才可以增,删,移除名为Web Parts的这个Web Part Zone中的Web Part。
这是一道关于Web 部件区域的题目。
在WSS 3.0Web部件页中使用的Web Part zones必须用由Microsoft.SharePoint.WebPartPages命名空间定义的WebPartZone控件来创建,而不是标准的ASP.NET 2.0中的WebPartZone控件。Web 部件区域是一个代码段,您可将其添加到页面布局中以便内容作者可以添加、编辑或删除该区域中的 Web 部件。当页面布局包括一个或多个 Web 部件区域时,这些 Web 部件区域可供使用该布局的所有页面使用,从而使作者能够在这些页面上插入 Web 部件。如果您允许作者在页面上插入 Web 部件,那么您对用户的网站体验的控制将会降低。例如,作者可以在页面上插入目录 Web 部件,这样会公开您不希望访问者从当前页面导航到的网站部分。
如果您希望完全控制 Web 部件在网站上的显示方式,并且希望该 Web 部件显示在某特定类型的所有页面上,请将该 Web 部件直接添加到页面布局中。如果您希望某个 Web 部件显示在网站中的所有页面上,还可以将 Web 部件直接添加到母版页中。
Web 部件区域可用于页面布局但不适用于母版页 — Web 部件区域的用途是允许作者修改 Web 部件,而作者通常不编辑母版页。
您还可以将 Web 部件区域添加到页面布局但限制其用法。例如,您可以将 Web 部件添加到某个区域中,然后设置该区域的属性以便内容作者可以编辑现有 Web 部件的属性,但不能在该区域中添加或删除 Web 部件。Web 部件区域有一组属性用于双重目的。您可以将一部分属性用于组织 Web 部件在页面上的布局和格式,将另一部分属性用于提供更高级别的保护,以防止修改(或“锁定”)该区域中的 Web 部件。
Web 部件区域的属性可以指定是否允许内容作者:
• 通过添加、删除、移动 Web 部件或调整其大小来更改 Web 部件的布局。
• 更改所有用户的 Web 部件设置(Web 部件的共享视图)。
• 更改其个人 Web 部件设置(Web 部件的个人视图)。
下面就是几个重要的相关属性:
AllowLayoutChange: 指定是否可关闭、最小化、删除或还原 Web 部件区域中的 Web 部件。
如果设置为 False,则用户无法关闭、最小化、删除或还原 Web 部件区域中的 Web 部件,也无法将 Web 部件拖动到其他区域或者重新排列或移动 Web 部件区域中的 Web 部件。用户也无法添加 Web 部件目录中的 Web 部件,且影响 Web 部件区域中的 Web 部件的 UI 的若干属性将被禁用。此属性不会影响以编程方式更改布局的能力。如果设置为 True,则具有适当权限的用户可以执行这些操作。
LockLayout: 指定是否可添加、删除、移动 Web 部件区域中的 Web 部件或调整其大小。无论 Web 部件页是在个人视图中还是共享视图中,此属性的工作方式都相同。
如果设置为 True,则 Web 部件区域中每个 Web 部件受影响的特定 Web 部件属性为:“区域(ZoneID)”、“部件顺序(PartOrder)”、“在页面上可见(IsVisible)”、“高度(Height)”、“宽度(Width)”、“允许关闭(AllowRemove)”和“IsIncluded”(“Web 部件”菜单上的“关闭”命令)。其他 Web 部件属性不受影响。如果设置为 False,则 Web 部件属性决定是否可进行修改(须具有适当的网站权限)。
本题要求Your Web Parts的这个Web Part Zone中的Web Part可以被增,删,移除,而Web Parts的这个Web Part Zone中的Web Part则不能被增,删,移除[网站集所有者除外,网站集所有者自然]
下面分析各备选项:
选项A. Create a page layout with a Web Part zone named Your Web Parts that allows customizations. Create a Web Part zone named Required Web Parts that allows customizations. 二者都可以增,删,移除,显然不符合题目要求
选项B. Create a page layout with a Web Part zone named Your Web Parts that allows customizations. Create a Web Part zone named Required Web Parts that does not allow customizations with the desired Web Parts preloaded. 符合题目要求.
选项C. Create a page layout with Web Part zones that do not allow customizations and grant contributors full control to the site collection. 没按题目要求定义两个Web Part Zones并分别进行设置。
选项D. Create a Web Part page with a Web Part zone named Your Web Parts that does not allow customizations. Create a Web Part zone named Required Web Parts that allows customizations. 与题目的要求反着在做,应该排除。
因此本题答案应该选 B
参考
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationprevious/thread/1193ba3d-49ad-43fe-a620-0bf76ebff9b9/
http://technet.microsoft.com/zh-cn/library/cc767506.aspx
http://msdn.microsoft.com/zh-cn/library/microsoft.sharepoint.webpartpages.webpartzone_properties.aspx
http://msdn.microsoft.com/zh-cn/library/microsoft.sharepoint.webpartpages.webpartzone_properties(v=office.12).aspx
Sharepoint学习笔记—习题系列--70-576习题解析 -(Q49-Q51)的更多相关文章
- 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 ...
随机推荐
- js单击输入框后弹出提示信息效果
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- shell脚本二
在shell脚本一 中,我讨论了shell脚本的语法规范,shell脚本的变量,以及shell脚本的测试语句. 仅仅懂得这些只能写简单的脚本,在简单的脚本中各条语句按顺序执行,从而实现自动化的管理,顺 ...
- 用原生JS读写CSS样式的方法总结
为了日后方便查询,本人翻阅了一些资料总结了以下方法,仅限原生JS,如有不对的地方欢迎指出!只求大家看完觉得有学到点什么就OK了! 一.可以通过DOM节点对象的style对象(即CSSStyleDe ...
- ASP.NET Core 开发-Entity Framework (EF) Core 1.0 Database First
ASP.NET Core 开发-Entity Framework Core 1.0 Database First,ASP.NET Core 1.0 EF Core操作数据库. Entity Frame ...
- ASP.NET 的IP帮助类
个人网站地址: https://www.lesg.cn/netdaima/net/2016-239.html ASP.NET 的IP帮助类 在Web开发中会出现需要调用客户IP的方法: 一般调用方法就 ...
- CentOS 配置防火墙操作实例(启、停、开、闭端口)
防火墙的基本操作命令 查询防火墙状态:[root@localhost ~]# service iptables status<回车> 停止防火墙:[root@localhost ~]# ...
- C#项目中常用到的设计模式
1. 引言 一个项目的通常都是从Demo开始,不断为项目添加新的功能以及重构,也许刚开始的时候代码显得非常凌乱,毫无设计可言.但是随着项目的迭代,往往需要将很多相同功能的代码抽取出来,这也是设计模式的 ...
- 使用Aspose插件对Excel操作
使用使用Aspose插件对Excel文档进行导入导出操作 使用前请先下载Aspose插件引用 Excel导入: 前台使用file标签获取,submit方式提交. <form id="f ...
- TINYINT,SMALLINT,MEDIUMINT,INT,INTEGER,BIGINT;text,longtext,mediumtext,ENUM,SET等字段类型区别
http://www.path8.net/tn/archives/951 MySQL支持大量的列类型,它可以被分为3类:数字类型.日期和时间类型以及字符串(字符)类型.本节首先给出可用类型的一个概述, ...
- expect笔记
#!/usr/bin/expect -f set ip [lindex $argv 0]; set password [lindex $argv 1]; set timeout 1 spawn ss ...