Вы находитесь на странице: 1из 10

Lab B (Module 2)

This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. 2011 Microsoft. All rights reserved.

SharePoint Enterprise Content Management Implementers' Course

Contents
Task 1: Create a New Managed Metadata Service Application .................................................................... 3 Task 2: Publish the Managed Metadata Service Application........................................................................ 4 Task 3: Create Managed Terms .................................................................................................................... 4 Task 4: Create a Custom Content Type Using Managed Metadata .............................................................. 5 Task 5: Create a List Item Using a Managed Metadata Column ................................................................... 6 Lab Summary .............................................................................................................................................. 10

In this lab, you create and configure a Managed Metadata Service Application, create a Term Store and Term Set, and populate the Term Set with values. You then create a custom content type, which consumes the Term Set, and create a list item that uses terms for field data.

Task 1: Create a New Managed Metadata Service Application


In this task, you create a new Managed Metadata Service Application and set the configuration parameters. 1. In Central Administration, under Application Management, select Manage service applications. 2. Select the Service Applications tab. 3. On the Ribbon, click New, and then click Managed Metadata Service. 4. On the Create New Managed Metadata Service page, in the Name box, enter Metadata Service 1. 5. In the Database Server box, enter DEMO2010A. 6. In the Database Name box, enter MetadataService1. 7. Select Windows authentication to use Windows authentication to access the database. 8. In the Application Pool section, select Create new application pool, and then select the Contoso\Administrator account from the drop-down list. 9. Enter http://intranet.contoso.com in the Content Type hub box. The service will share the content type library at the root of the site collection. 10. Select Report syndication import errors from Site Collections using this service application. 11. Select Add this service application to the farms default list. 3

SharePoint Enterprise Content Management Implementers' Course

12. Click OK. 13. Click System Settings in the left navigation menu, and then click Manage Services on Server under the Servers group. 14. Locate the Managed Metadata Web Service and click Start. 15. Perform an IISRESET.

Task 2: Publish the Managed Metadata Service Application


In this task, you publish the Managed Metadata Service application. 1. In Central Administration, under Application Management, select Manage service applications. 2. Select the Service Applications tab. 3. Click the Metadata Service 1 row. 4. In the Ribbon, select Publish. 5. In the Publish Service Application dialog, click OK.

Task 3: Create Managed Terms


In this task, you create a new term group and term set, and then populate the term set with values. 1. In Central Administration, under Application Management, select Manage service applications. 2. Select the Service Applications tab. 3. Click the Metadata Service 1 row. 4. In the Ribbon, click Manage. 5. In the Term Store Management Tool, click the Metadata Service 1 node under Taxonomy Term Store and select New Group. 6. Enter Group 1 as the group name. 7. Click Group 1 and select New Term Set. 8. Enter Departments as the name of the term set. 9. Click Departments and select New Term. 10. Enter the following values as new terms under Departments: Human Resources, Information Technology, Finance, and Sales. 4

SharePoint Enterprise Content Management Implementers' Course

Task 4: Create a Custom Content Type Using Managed Metadata


In this task, you create a new managed metadata site column and a new content type, and assign the new site column to the new content type. 1. Open http://intranet.contoso.com in Internet Explorer. 2. Click Site Settings on the Site Actions menu. 3. Under Galleries, select Site Columns. 4. Click Create. 5. Enter Company Department as the column name and select Managed Metadata as the column type. 6. In the Term Set Settings section, expand Metadata Service 1, expand Group 1, and then select Departments.

7. Click OK. 8. Click Site Settings from the navigation breadcrumb menu. 9. Under Galleries, select Site Content Types. 10. Click Create. 11. Enter Employee Information as the column name. Under Parent Content Types, in the Select parent content type from field, select List Content Types. In the Parent Content Type field, select Contact. 5

SharePoint Enterprise Content Management Implementers' Course

12. Click OK. 13. On the Employee Information details screen, under Columns, select Add from existing site columns. 14. Locate Company Department in the Custom Columns group and click Add.

15. Click OK.

Task 5: Create a List Item Using a Managed Metadata Column


In this task, you create a new Contacts list, associate the Employee Information content type with the list, and then create a new list item using the term store values. 1. From the Site Actions menu, select View All Site Content, and click Create. 2. Select the Contacts list type, enter Contoso Employees as the list name, and then click Create.

SharePoint Enterprise Content Management Implementers' Course

3. Select the List tab and select List Settings. 4. Click Advanced in the General Settings section. 5. Select Yes under Allow management of content types? and click OK. 6. In the Content Types section, click Add from existing site content types. 7. Locate the Employee Information content type in the Custom Content Types group and add it to the available list content types. Click OK.

8. Click Contoso Employees in the breadcrumb navigation menu.

SharePoint Enterprise Content Management Implementers' Course

9. Select the Items tab, click New Item to expose the drop-down menu, and click Employee Information. 10. In the New Item dialog, enter Last Name and First Name values, and scroll down until the Company Department field is visible.

11. Click the Browse for a valid choice icon to the right of the Company Department field to see the terms in the Departments term set. Select Information Technology, click the Select >> button to add the value from the term store, and click OK.

SharePoint Enterprise Content Management Implementers' Course

12. Click Save. The Company Department value will display in the All Items view.

SharePoint Enterprise Content Management Implementers' Course

Lab Summary

10

Вам также может понравиться