Thursday, August 2, 2012

Import Metadata into a Term Store

 

1: Create the Import File

2: Import the Term Set

3: Apply Imported Terms to a List Item

 

1: Create the Import File

1. Click Start > Run.

2. Enter notepad and click OK.

3. Enter the following text on the first line:

"Term Set Name","Term Set Description","LCID","Available for Tagging","TermDescription","Level 1 Term","Level 2

Term","Level 3 Term","Level 4 Term","Level 5 Term","Level 6 Term","Level 7 Term"

4. Enter the following text on the second line:

"Sites","Locations where the organization has offices",,TRUE,,,,,,,,

5. Enter the following text on lines 3–8:

,,1033,TRUE,,"North America",,,,,,

,,1033,TRUE,,"North America","Washington",,,,,

,,1033,TRUE,,"North America","Washington","Redmond",,,,

,,1033,TRUE,,"North America","Washington","Seattle",,,,

,,1033,TRUE,,"North America","Washington","Tacoma",,,,

,,1033,TRUE,,"North America","Massachusetts","Cambridge",,,,

6. Save the file as TermSet.csv.

 

2: Import the Term Set

1. In Central Administration, under Application Management, select Manage service applications.

2. Click your Managed Metadata Service Application name (Managed Metadata Service 1).

3. Locate the Managed Metadata Service 1 term store, click the drop-down list, and select New Group.

4. Enter Imported Terms as the group name.

5. Select the Imported Terms group and click Import Term Set.

6. Browse and select the TermSet.csv file.

7. Click OK.

8. Expand the Sites node and ensure that the terms have been imported into the term store.

clip_image001

 

3: Apply Imported Terms to a List Item

1. Open your intranet site in Internet Explorer.

2. From the Site Actions menu, select More Options.

3. Click Contacts and enter Company Contacts in the Name field.

4. Click Create.

5. Select the List tab and click the List Settings option in the Ribbon.

6. Click Create Column.

7. Enter Employee Location in the Column name field and select Managed Metadata as the column type.

8. In the Term Set Settings section, expand the Managed Metadata Services 1 node, expand Imported Terms, and select Sites.

9. Click OK.

10. Return to the Company Contacts list default view, select the Items tab, and click New Item.

11. Enter a name in the Title field and click the tag icon next to the Employee Location field.

clip_image002

12. Expand the terms, click Redmond, and click Select.

13. Click Save.

14. The contact item is created using the imported term.

clip_image004

No comments:

Post a Comment