Sharepoint学习笔记—习题系列--70-576习题解析 -(Q36-Q39)
Question 36
You are designing a SharePoint 2010 application. You need to design the application so that it meets the following requirements:
.Content authors must be allowed to create product pages.
.Content authors also must be able to add Web Parts to customize the page.
.Product pages must allow the content author to select a value from a Product Type field as defined in an existing site column.
Which approach should you recommend?
A. Create an application page that includes the Product Type field and Web Part zones.
B. Create a page layout that includes the Product Type field and Web Part zones.
C. Create a static page that includes the Product Type field and Web Part zones.
D. Create a Web Part page that includes the Product Type field and Web Part zones.
解析:
本题要求你设计一个SP2010应用程序,要求如下:
要求1.内容编辑人员可以自行创建产品页面
要求2.内容编辑人员具备向上面的产品页面添加Web Parts的能力
要求3.内容编辑人员可以在产品页面上选择此产品属于哪个产品类型(Product Type),这个产品类型的选择是通过Product Type字段实现,而此字段是基于已经存在的网站列创建的。
根据要求,本题最大的特点就是允许用户动态编辑网站页面,从这个特点出发,首先可以排除选项A与选项C。因为不管是application page还是static page均是静态特征,它们不支持用户在部署后动态修改页面。
然后就是选项D,这个选项最大的问题就是Web Part Page并不支持内容类型,它主要是用于引用或创建Web Part Control来实现特定的操作功能。所以只有选项B,即通过创建 Page Layout来实现本题目标,因为Page Layout本身就是与内容类型紧密关联的,而且它支持Web Part Zone。
因此本题答案应该选B
参考
http://msdn.microsoft.com/zh-cn/library/dd583152(v=office.11).aspx
http://msdn.microsoft.com/zh-cn/library/sk23dydw(v=vs.100).aspx
http://msdn.microsoft.com/zh-cn/library/jj862341.aspx
Question 37
You are designing a SharePoint 2010 application. You need to specify that a custom button is defined and added to the SharePoint 2010 ribbon. Which two actions should be performed? (Each correct answer presents part of the solution. Choose two.)
A. Create a new Content Organizer content type that defines the button.
B. Create Feature Definition and Feature Element XML files that define the button.
C. Use the STSADM.EXE utility to deploy the button.
D. Use the Site Collection Features option in the Site Collection Administration group to deploy the button.
解析:
本题为多选题,要求你在Sharepoint2010的网站上实现把用户定义的Button控件添加到Ribbon中,要求两个选项。
下面分别分析各备选项:
选项A. Create a new Content Organizer content type that defines the button.
本选项试图通过创建一个新的内容管理器内容类型来定义此按钮。
SharePoint 2010的内容管理器是用来帮助网站管理员实现自动化的文档路由和存储。在用户将文档上载到网站之后,网站的内容管理器会按照事先设置的规则,自动将文档移动到正确的地方。所以内容管理器是用来管理文档对象,而不是用来部署控件对象或功能对象的。而且内容管理器规则只能处理继承自“文档”内容类型的内容类型,这意味着内容管理器只能管理文件类型的内容,而不能处理其他列表项内容类型。所以本选项应该被排除。
选项B. Create Feature Definition and Feature Element XML files that define the button.
在解决方案中,通过功能定义与功能XML元素来定义Ribbon中的按钮。这是通行的做法,没什么问题。
选项C. Use the STSADM.EXE utility to deploy the button.
在开发了选项B生成的Feature后,当然需要部署此Feature到Sharepoint中。STSADM.EXE提供了灵活的手段来部署你的功能,它有许多参数可供选择。
选项D. Use the Site Collection Features option in the Site Collection Administration group to deploy the button.
此选项试图通过Site Collection Administration 下的Site Collection Features去部署网站集功能,想让此Ribbon Button只在指定的网站集中生效。而本题显然并没要求此功能只针对网站集范围,且Site Collection Features option in the Site Collection Administration只是用来管理Feature的,不是用来部署的。如果要部署,则需要使用Site Action下的Mange Site Features功能。
因此本题答案应该选 B.C
参考
http://www.cnblogs.com/wsdj-ITtech/archive/2012/05/06/2483066.html
http://msdn.microsoft.com/zh-cn/library/ff630938(v=office.14).aspx
http://msdn.microsoft.com/zh-cn/library/ee539395(v=office.14).aspx
Question 38
You are designing a SharePoint 2010 application that allows users to enter contact information into a form. You need to design the application so that it displays a dialog box prompting users to validate their contact information before the data is saved. Which approach should you recommend?
A. Create an application page that calls the SP.UI.ModalDialog class.
B. Create an application page that calls the SP.UI.PopoutMenu class.
C. Create a Web Part that calls the Message Box class.
D. Create a visual Web Part that calls the SP.UI.PopoutMenu class.
解析:
本题核心是要你跳出一个dialog box以供用户检验他们录入的个人信息,只有信息得到了确认,才能做信息的保存操作。
这种题对576而言,简单就是送分题目。凡是了解过SP.UI.ModalDialog功能的人几乎都不用考虑其它选项了。
选项B.D均是关于弹出菜单的,与确认窗口无关。选项C是显示MessageBox,也即Sharepoint的Ribbon下的那个黄颜色动态提示条,它只是信息提示,无法完成用户确认功能。
因此本题答案应该选 A
参考
http://msdn.microsoft.com/zh-cn/library/ff409127(v=office.14).aspx
http://chakkaradeep.com/index.php/using-the-sharepoint-2010-modal-dialog/
Question 39
You have a sandboxed SharePoint 2010 application for managing sales proposals. The application runs in a hosted environment that does not allow direct access to external services or the installation of proxies or external content types. The account status for your application is contained in a Customer Relationship Management (CRM) system hosted on a separate server. The account status information is exposed via Web services. You need to display account status from the CRM system in the form of dashboards, pie charts, and other reports to the users within your firewall. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Develop a Silver light component that is responsible for making the Web service call from the client and rendering the returned data.
B. Develop a Web Part that uses AJAX and is responsible for making the Web service call from the client and rendering the returned data.
C. Develop a Visual Web Part that calls the Web service in the On Load event of the contained ASMX control.
D. Develop a user control that calls the Web service in the OnPreRender event and render the returned data through XSLT.
解析:
你有一个管理销售计划的沙盒程序,此程序所寄宿的环境既不允许直接访问外界服务也不允许安装任何代理(应该是指Full trust Proxy)以及外部内容类型。此程序的帐户状态信息由另一个服务器上运行的CRM系统提供,帐户状态信息是通过那台服务器的Web Services开放出来的。现在,你需要通过仪表板,饼图,报表等等多种形式把帐户信息展示给使用者,那么你该如何做呢?[要求选两个答案]
首先,由于题干部分说明了是”沙盒”方案,所以,直接可以排除选项C,因为沙盒方案是不支持Visual Web Part的。
其次,题目要求” 不允许直接访问外界服务也不允许安装任何代理(应该是指Full trust Proxy)以及外部内容类型”,这里的”直接访问”应该是指不能直接从服务器端访问,由此即可排除选项D,因为选项D通过的是服务器控件直接访问Web Service。
再结合”多形式表达”能力,剩下的只有通过Silver light或Ajax的丰富控件来实现了。
因此本题答案应该选 A.B
参考
http://msdn.microsoft.com/zh-cn/magazine/dd148643.aspx
http://msdn.microsoft.com/en-us/library/bb802856(v=office.12).aspx
Sharepoint学习笔记—习题系列--70-576习题解析 -(Q36-Q39)的更多相关文章
- 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 ...
随机推荐
- [java] 汇率换算器实现-插曲1-正则表达式(1)
[java] 汇率换算器实现-插曲1-正则表达式(1) // */ // ]]> // */ // ]]> [java] 汇率换算器实现-插曲1-正则表达式(1) Table of C ...
- C#中enum类型
最近碰到了枚举类型,就顺便整理下. 枚举的基类Enum,可以是除 Char 外的任何整型.不做显示声明的话,默认是整形(Int32). 声明一个Enum类型: /// <summary> ...
- Asp.net 高性能 Sqlite ORM 框架之 sqliteSugar
一.介简 easyliter框架的升级版本,并且正式命名为SqliteSugar框架,另外Sugar系列还有 MySql和MsSql版本,Oracle版本待开发中(因为客户端太大一直在忧郁当中) 用S ...
- 大话ASP.NET开发(第一章 html5+css3+解耦问题的探讨)
一.拉近我们的距离 我想,很多人会问,如今IE6还占据颇多份额的中国,html5.css3是否还很遥远?我会很直接告诉他们:其实就在你的眼前.我们来看两个图: ...
- [Asp.net 5] Configuration-新一代的配置文件(神奇的Binder)
关于配置文件的目录:[Asp.net 5] Configuration-新一代的配置文件 之前看过MVC4.0的源码,里面就有Binder.作用是将前台页面传递过来的键值对/字典表绑定到特定的对象.此 ...
- linq 实现动态 orderby
class Pet { public string Name{get;set;} public int Age{get;set;} } void Main() { Pet[] pets = { }, ...
- Tarjan算法---强联通分量
1.基础知识 在有向图G,如果两个顶点间至少存在一条路径,称两个顶点强连通(strongly connected).如果有向图G的每两个顶点都强连通,称G是一个强连通图.非强连通图有向图的极大强连通子 ...
- 【Java每日一题】20161111
package Nov2016; import java.io.Serializable; public class Ques1111 implements Serializable{ private ...
- how-to-redirect-cin-and-cout-to-files
#include <iostream> #include <fstream> #include <string> void f() { std::string li ...
- Redis配置集群一(window)
因为接下来的项目要使用到redis作为我们项目的缓存,所以就花了一天时间研究了一下redis的一些用法,因为没转linux虚拟机,所以就决定先研究一下windows版本的redis集群.主要是redi ...