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)的更多相关文章

  1. Sharepoint学习笔记—ECM系列—文档列表的Metedata Navigation与Key Filter功能的实现

    如果一个文档列表中存放了成百上千的文档,想要快速的找到你想要的还真不是件容易的事,Sharepoint提供了Metedata Navigation与Key Filter功能可以帮助我们快速的过滤和定位 ...

  2. Sharepoint学习笔记—ECM系列--文档集(Document Set)的实现

    文档集是 SharePoint Server 2010 中的一项新功能,它使组织能够管理单个可交付文档或工作产品(可包含多个文档或文件).文档集是特殊类型的文件夹,它合并了唯一的文档集属性以及文件夹和 ...

  3. Sharepoint学习笔记—习题系列--70-576习题解析 --索引目录

        Sharepoint学习笔记—习题系列--70-576习题解析  为便于查阅,这里整理并列出了70-576习题解析系列的所有问题,有些内容可能会在以后更新. 需要事先申明的是:     1. ...

  4. Sharepoint学习笔记—习题系列--70-573习题解析 --索引目录

                  Sharepoint学习笔记—习题系列--70-573习题解析 为便于查阅,这里整理并列出了我前面播客中的关于70-573习题解析系列的所有问题,有些内容可能会在以后更新, ...

  5. Deep Learning(深度学习)学习笔记整理系列之(五)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  6. Deep Learning(深度学习)学习笔记整理系列之(八)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  7. Deep Learning(深度学习)学习笔记整理系列之(七)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  8. Deep Learning(深度学习)学习笔记整理系列之(六)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  9. Deep Learning(深度学习)学习笔记整理系列之(四)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  10. Deep Learning(深度学习)学习笔记整理系列之(三)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

随机推荐

  1. PetaPojo —— JAVA版的PetaPoco

    背景 由于工作的一些原因,需要从C#转成JAVA.之前PetaPoco用得真是非常舒服,在学习JAVA的过程中熟悉了一下JAVA的数据组件: MyBatis 非常流行,代码生成也很成熟,性能也很好.但 ...

  2. Android学习笔记之Fast Json的使用

    PS:最近这两天发现了Fast Json 感觉实在是强大.. 学习内容: 1.什么是Fast Json 2.如何使用Fast Json 3.Fast Json的相关原理 4.Fast Json的优势, ...

  3. SQL Server如何在变长列上存储索引

    这篇文章我想谈下SQL Server如何在变长列上存储索引.首先我们创建一个包含变长列的表,在上面定义主键,即在上面定义了聚集索引,然后往里面插入80000条记录: -- Create a new t ...

  4. 用Eclipse新建一个web项目没有自动生成web.xml

    我们首先打开Eclipse,如下:   我们可以看到在"WEB-INF"文件夹下没有web.xml文件.   这是是什么原因呢,我们来看看,我们首先来新建一个web工程,如下:   ...

  5. 这几天做完简易酒店管理系统,对Sql Server执行计划的浅显了解。

    我是一名大三的小学生,今天开始我的第一篇博客,最近随便做了一个简易的酒店管理系统,对sql执行计划有了初步的了解. 查看上面语句的预估执行计划,在工具栏中有这个按钮 聚集索引扫描被称为Index Sc ...

  6. TextBox禁止复制粘贴和数字验证,小数验证,汉字验证

    验证小数 #region 验证小数 /// <summary> /// 验证小数 /// </summary> /// <param name="sender& ...

  7. 【C#进阶系列】18 特性Attribute

    这个东西有的叫定制特性,然而我喜欢直接叫特性,但是这样的话一些人不知道我说的是什么,如果我说是Attribute的话那么知道的或者用过的就都懂了. 还记得讲到枚举和位标志那一章,关于位标志,有一个[F ...

  8. FNV哈希算法

    由来:FNV哈希算法全名为Fowler-Noll-Vo算法,是以三位发明人Glenn Fowler,Landon Curt Noll,Phong Vo的名字来命名的,最早在1991年提出. 特点和用途 ...

  9. 将AJAX返回值纵向排序赋值给Table标签

    /*下面是所有拼接这个表的代码*/ 1 function HandelAjaxReturnDataForContentTable(data) { var shareHtml = "" ...

  10. php中数组遍历改值

    <?php $arr = array(100, 99, 88, 77, 55, 66); //方法1 foreach ($arr as &$v) { $v = 2; } print_r( ...