Sharepoint学习笔记—习题系列--70-576习题解析 -(Q112-Q115)

Question  112
 You are designing a public-facing SharePoint 2010 Web site for an elementary school that has many events each year. School administrators plan events for students and their parents. You need to create a design for meeting the following requirements:
.Parents must be able to log on to the site and sign up for events electronically, regardless of the software they have installed on their computers or the browsers they are using.
.Each event registration needs to be saved in a list or library on the site.
.School personnel responsible for making changes need to be able to customize each new event registration form with images and text. Which actions should your design specify? (Each correct answer presents a complete solution. Choose two.)
A. Create a new document library for each event. Then customize the Word document template for that new library. Ask parents to fill out a new Microsoft Word document for each event and upload it to the document library.
B. Create a new InfoPath 2010 form for each event. Then publish the form to a new form library with InfoPath Forms Services enabled. Create a custom Submit option so that when parents submit the form, the completed form is saved to the library. Ask parents fill out the form in their browser.
C. Create a new list for each event. Use InfoPath 2010 to create a new registration form and customize it for each new event. Ask parents to fill out the form to register for an event. When parents submit the form, their information is saved as a new list item in the list.
D. Create a new list for each event. Use Microsoft Silver light to create a new registration form and host the Silver light control in a Web Part on the site. Ask parents to fill out the form to register for an event. Configure a data connection on the Web Part that will submit the form information to the new event list.

解析:
   你为一个初级学校设计一个Sharepoint2010公共网站, 学校管理人员使用这个网站为学生及家长计划各种活动。你的设计需要满足如下要求:
  要求1. 网站支持多种浏览器,家长可以在家里登录到网站上登记参加相关活动
  要求2. 活动注册情况需要被保存到网站的列表或库中
  要求3. 学校负责组织活动的工作人员可以使用图片或文字修改与活动相关的表单。
  你该如何做才能满足上述需求呢? 【需要选两个选项】
  选项A.使用Word文档库,采用这种方式显然很难提取Word文档表中的各栏字段并保存到网站的列表或库中,所以直接排除。
  选项B.C.均采用Infopath方式, Infopath配合InfoPath Forms Services本来就是用来为Sharepoint提供表单填写及维护的,而且其表单栏数据是保存在指定的列表中的。所以它们当然是本题的答案。
  选项D.通过Silver Ligth Web Part显然无法满足要求3,因为只有开发人员才有能力修改Silver Light Web Part。所以本选项排除。
 
因此本题答案应该选  B.C

参考    http://office.microsoft.com/en-us/sharepoint-server-help/introduction-to-infopath-forms-services-HA010167284.aspx
http://msdn.microsoft.com/en-us/library/hh285093.aspx
http://msdn.microsoft.com/en-us/sharepointandsilverlighttrainingcourse_integratingunit_unit.aspx

 

Question  113
 You are designing a data capture approach for a SharePoint 2010 intranet site. You need to specify the data capture design elements in the user interface to meet the following requirements:
.The site must provide data-entry forms for users to update list data.
.The users should be allowed to take the submission form offline.
Which approach should you recommend?
A. Design InfoPath 2010 client forms and deploy them to a SharePoint library for data entry and submission.
B. Design InfoPath 2010 browser-based forms and deploy them with InfoPath Forms Services to SharePoint 2010 for data entry and submission.
C. Design custom ASP.NET form pages and deploy them under the _layout folder. Use ASP.NET form pages for data entry and submission.
D. Design SharePoint lists and allow users to enter and submit data.


解析:
  你为Sharepoint2010内部网设计一个数据获取方案,需要满足如下要求:
要求1.提供数据录入表单,并将数据保存到列表或对列表数据进行刷新
要求2.用户可以离线填写表单
  你应该用哪种方法去实现呢?
  提到Sharepoint中可离线填写的表单,当然直奔Infopath了,本题仅选项A.B使用了Infopath,由于要求表单填写支持Offline方式,很明显如果Offline了,用户就不可能再访问到Sharepoint网站了,也就是说,此时用户只能依赖于本地安装的Infopath打开表单进行填写,这当然是InfoPath 2010 client forms了,所以选项B就被排除。
  选项C.D也显然均要Online填写,不可能支持Offline,所以也被排除。
  因此本题答案应该选 A

参考 
http://office.microsoft.com/zh-cn/infopath-help/HA010211739.aspx
http://msdn.microsoft.com/en-us/library/office/gg435970(v=office.14).aspx
http://msdn.microsoft.com/zh-cn/library/ms772323(v=office.14).aspx

 

Question  114
 You are designing a SharePoint 2010 site for your organization to capture customer contact information. The contact information for customers is stored in a Microsoft Dynamics CRM 4.0 database. You need to design a solution with no custom code that meets the following requirements:
.Sales department employees must be able to perform create, retrieve, update, and delete (CRUD) operations for their customer information records on the SharePoint site.
.The data in the SharePoint site must be synchronized with the data in the CRM Dynamics database because most customers do not have direct access to the CRM system.
.SharePoint users from the Sales department must be able to work with data while they are working offline. Which approach should you recommend?
A. Create client and browser-based forms with Microsoft Office InfoPath 2010. Deploy the forms using SharePoint Form Services to provide all CRUD operations.
B. Create an external content type for the contact list from the CRM system in SharePoint using Business Connectivity Services. Create InfoPath client forms for CRUD operations. Create a SharePoint 2010 workspace to synchronize the offline data.
C. Create custom Microsoft ASP.NET form pages for CRUD operations. Create a Microsoft SQL Server connection to the CRM system. Create a farm-scoped solution and deploy it in the _layouts folder to provide access to the data on the SharePoint site.
D. Create a custom content type in the contact list of the SharePoint site that connects to the CRM system. Create Web forms to synchronize the contact list in the CRM system to the contact list in SharePoint.


解析:
  你为公司Sharepoint2010网站设计一个方案以收集公司客户的联系信息。这些联系信息原本保存在Microsoft Dynamics CRM 4.0数据库中,你的方案不需要编程并满足如下要求:
  要求1. 公司销售人员可以在Sharepoint网站上对他们的客户信息进行创建,检索,更新,删除等等操作。
  要求2. Sharepoint网站内的客户信息必须与CRM Dynamics应用系统中的客户信息同步。
  要求3. 销售部门的Sharepoint网站用户可以离线操作客户数据。
  你该采取哪种方式来达到上述要求呢?
  根据上述要求1,2: 用户需要在Sharepoint网站操作外部数据库并实现同步,这正是Sharepoint2010的BCS所提供的功能。在所有的备选项中,只有选项B采用了BCS,因为所谓的创建外部内容类型就正是基于BCS进行的。而且选项B采用了Infopath Client Form方式,这种方式我们在Question113中已经分析过,它可以实现离线填写数据,所以本题我们可以直接定位到选项B。
  选项A.通过Infopath的browser-based表单无法满足本题的要求2与3。
  选项C.通过ASP.NET表单也无法作到与CRM同步和离线操作。
  选项D.也无法满足要求1和实现离线操作。
因此本题答案应该选 B

参考 
http://msdn.microsoft.com/zh-cn/library/ff728816(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ff630942(v=office.14).aspx


Question  115
 The IT, human resources, and legal departments in a large company each have site collections that run in separate Web applications in a SharePoint 2010 server farm. You need to design a SharePoint information architecture that will meet the following requirements:
.All departments should use a consistent set of keywords. .Certain enterprise keywords must be shared across all departments.
.The keywords should be managed dynamically.
.The keywords should be globally available to SharePoint service applications.
.The keywords should be able to be managed programmatically.
.The keywords management must use standard services and be maintained with built-in SharePoint 2010 administration tools. Which approach should you recommend?
A. Programmatically connect each Web application for all departments to the Global Managed Metadata shared service containing the common enterprise keywords.
B. Programmatically add the site collection containing the common enterprise keywords list to the Web applications for all departments.
C. Create a managed metadata term set of all of the common enterprise keywords and deploy it as a feature to the farm. Programmatically activate the feature in the Web application for all departments.
D. Create a managed metadata term store of all of the common enterprise keywords and deploy it as a feature to the farm. Programmatically activate the feature in the Web application for all departments.


解析:
  一家大公司的IT,人力资源以及法律部门在这家公司的Sharepoint2010服务器场上建立有部门网站集,这些网站集分别运行在不同的Web Application上。你需要根据如下要求来架构这个Sharepoint场:
要求1.所有部门必须使用统一的一套keywords。某些Keywords必须可以在不同的部门间共享。
要求2.这些Keywords可以被动态管理
要求3.这些Keywords在全局范围内对Sharepoint服务应用程序有效
要求4.可以通过编程来管理这些Keywords
要求5.只能使用标准的服务以及Sharepoint内建的管理工具来管理这些Keywords.
 你应该采用哪种方式呢?
 本题涉及Sharepoint的托管元数据,首先来了解一下相关基本知识点:
托管元数据(Managed Metadata)-----是可定义的集中管理术语的分层集合,可将这些术语用作 Microsoft SharePoint Server 2010 中项的属性。
术语(Term)---- 是可与 SharePoint Server 2010 中的项关联的词或短语。
术语集(Term Set)----- 是相关术语的集合。可以指定 SharePoint Server 2010 列必须包含来自特定术语集的术语。托管元数据 反映了这样一个事实,即可以独立于列来单独创建和管理术语和术语集。
本地术语集(Local Term Set) -----是在网站集的上下文中创建的。例如,如果向一个文档库中的列表添加一个列,然后创建一个此列将绑定到的新术语集,则新术语集是包含该文档库的网站集的本地术语集。
全局术语集(Global Term Set)----- 是在网站集的上下文外部创建的。例如,术语库管理员可以创建一个名为“Human Resources”(人力资源)的术语集组(Term Set Group),并指派一个人来管理此术语集组。该组管理员将在“Human Resources”(人力资源)术语集组中创建与 Human Resources 相关的术语集(如职务和付薪等级)。
我们可以将术语分为两大类型:
1.托管术语(Managed terms),此类术语一般是预定义的、只能由具有适当权限的用户创建并且通常以层次结构的形式组织。
2.企业关键字(Enterprise keywords),此类术语只是一些已添加到 SharePoint Server 2010 项中的词或短语。所有企业关键字都是一个名为“关键字集”的非分层术语集的一部分。
 术语库(Term Store)----- 托管术语和企业关键字存储在一个称作“术语库”的数据库中。

创建术语:SharePoint Server 2010 包含一个术语库管理工具,可用于创建和管理术语集。如果您具有适当的权限,则可使用术语库管理工具执行以下操作:

  •  创建或删除术语集。
  •  添加、修改或删除术语。
  •  以层次结构的形式组织术语集中的术语。
  •  定义同义词。
  •  导入术语。
  •  通过将企业关键字移动到术语集中,使这些关键字成为托管术语。

从此处描述可以看出,创建新的术语集【选项C】或术语库

使用术语:列是列表中用于存储有关 SharePoint Server 2010 项的信息的位置。在定义一个列时,您为该列提供一个名称,指定该列的类型并提供依赖于列类型的其他信息。
SharePoint Server 2010 引入了一个名为“托管元数据”的新列类型。在创建一个托管元数据列时,您指定必须从中获取该列的值的术语集。在您希望用户提供列表项(包括文档)的信息以及术语集中包含的信息的有效值时,请使用托管元数据列。创建新的内容类型或修改现有内容类型,然后将托管元数据列添加到内容类型。
 
从上述描述可知,可Sharepoint的术语是存储在专门的术语库中的,所以选项B可以排除,因为选项B理解为把术语保存在各个网站集的列表中了。
其次,我们可以看出,我们一般可以通过SharePoint Server 2010 包含的术语库管理工具来管理企业术语。当然,我们也可以通过编程方式来创建、添加术语【选项C】甚至创建术数库【选项D】,但实际的操作方式却并非选项C或选项D那样的操作。如果要添加新的术语,我们可以通过程序界面或者Feature Receiver中实现。如果要创建术语库,则可通过PowerShell或程序代码后台实现。具体的方式参见下面的参考连接。

因此本题答案应该选 A
参考 
http://social.technet.microsoft.com/Forums/en-US/71fd916e-92b0-4135-bbf9-318f5eb04828/how-to-create-a-term-store-programmatically
http://blog.robgarrett.com/2011/04/14/programmatically-provision-term-store/
http://sharepoint.stackexchange.com/questions/34111/create-termstore-spserviceapplicationproxy-programmatically
http://technet.microsoft.com/zh-cn/library/ee424403.aspx

http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2011/08/03/sharepoint-2010-cookbook-programmatically-create-term-sets-amp-metadata-columns-in-managed-metadata-service.aspx

posted @ 2014-01-08 15:32  wsdj  阅读(593)  评论(0编辑  收藏  举报