Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

SharePoint 2010 : Working with Metadata in a Word 2010 Document and Document Libraries

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/29/2011 4:11:02 PM
The following section and step-by-step exercises provide a thought-provoking introduction to the functionality of metadata in SharePoint 2010 and the interaction of SharePoint with the embedded metadata in a Word 2010 document. By following these steps, an administrator will gain a better understanding of the interaction between SharePoint 2010 document libraries and the documents that will be stored in them, and will probably want to perform additional testing to further master the topic.

This exercise walks an administrator through the process of creating two different document libraries that contain different metadata columns, and the process of accessing the properties for a Word 2010 document, populating metadata within the document, and then uploading the document and adding additional metadata. The document is then moved to the second document library, where some of the metadata appears to be lost, but is in fact still contained within the Word document.

The following steps cover the actions needed to complete the exercise:

1.
Create a new document library on a SharePoint 2010 site. Leave the settings at their defaults. Title it Metadata Test1.

2.
Click the Library tab, and click the Create Column icon.

3.
Name the column Subject, and choose Single Line of Text, and leave the rest of the settings at their defaults and click OK.

4.
Click the Library tab, and click the Create Column icon again.

5.
This time, name the column Project Name, and choose Choice (menu to choose from) as the column type. In the Type Each Choice on a Separate Line box, delete the default entries and add Project ABC, Project DEF, and Project GHI, as shown in Figure 1. Clear the Default Value field, leave the other fields at their defaults, and click OK.

Figure 1. Creating a choice column.

6.
Create a second document library, but title it Metadata Test 2, and add the column titled Subject to it, as well, but do not add the Project Name column.

7.
Next, create a new Word 2010 document and enter some sample text.

8.
Click the File tab, click the Info link on the left side, and then click the Properties drop-down menu on the right side and select Show Document Panel.

9.
The Document Panel will now appear for the document. Enter a value into the Subject field (for example, Mission Statement), and the results will look like Figure 2.

Figure 2. Entering metadata in Word 2010.

10.
Now click the Save icon, save the document locally to My Documents, and close the document. For this example, the document is saved as Mission_Statement_for_Project_ABC.

11.
Navigate to the Metadata Test 1 document library and upload the document by clicking the Upload button, then the Browse button, and locating the document, clicking Open, and then clicking OK.

12.
As shown in Figure 3, the upload window prompts for additional metadata, including the Title field, Subject field, and Project Name drop-down list. Recall that Subject and Project Name were added in steps 3 to 5. Note that content is already populated in the Subject field. This is because the Word document has a metadata field defined within the document named Subject in which text was entered from Word in step 9. Select Project ABC in the drop-down menu next to Project Name. Click Save.

Figure 3. Adding metadata to the document on upload.

13.
The document will now appear in the document library Metadata Test 1 with several metadata columns populated: The Name column, which contains the filename of the document; the Modified column, which contains the date and time the file was last modified (the date and time it was uploaded to the document library) and modified by information; and the Subject and Project Name metadata columns that were added in this exercise.

14.
Next, the document will be moved to the second document library that was created. To accomplish this, click the Library tab, click the Open with Explorer button, and a new window will open, showing the contents of Metadata Test 1 document library.

15.
Return to SharePoint and navigate to Metadata Test 2 library that was created in step 6, click the Library tab, and click the Open with Explorer button.

16.
Click the document in the Explorer window for Metadata Test 1 and drag it to the Explorer window for Metadata Test 2. This will move the document from Metadata Test 1 library to Metadata Test 2.

17.
Navigate to the Metadata Test 2 library and the document will appear as shown in Figure 4. The Subject column will be populated, but there is no Project Name column. A valid question to ask at this point is this: “What happened to the metadata in the Project Name column?”

Figure 4. Document copied to second document library without the Project Name metadata field.

18.
To answer this question, from the Metadata Test 2 library, hover over the document and click Edit in Microsoft Word from the drop-down menu, click OK for the warning, and it will open in Word.

19.
Click File tab, click the Info link on the left side, and then click the Properties drop-down menu on the right side and select Show Document Panel.

20.
This time, the Document Panel will display the Server properties information by default because the document is being opened from a SharePoint document library. Notice that the Subject field is populated, but there is no Project Name field visible because that metadata column does not exist in the document library (Metadata Test 2) it was opened from.

21.
To find the Project Name metadata, click the drop-down menu next to Document Properties - Server and choose Advanced Properties from the list. The Advanced Properties window will open.

22.
Click the Custom tab, and note that Project Name appears in the Properties window, with the value Project ABC (as shown in Figure 5), which was added to the document in step 12.



Figure 5. Advanced Properties, Custom tab showing metadata exists in the Word document.

A natural question at this point is, “How do non-Microsoft Office documents behave in similar tests?” The administrator should experiment with different types of files, such as a PDF file, for example.

Other -----------------
- Windows Server 2008 Server Core : Configuring Directory Services - Creating New Objects Using the DSAdd Utility (part 2)
- Windows Server 2008 Server Core : Configuring Directory Services - Creating New Objects Using the DSAdd Utility (part 1)
- Exchange Server 2010 : OWA (part 2) - OWA Virtual Directory Properties & Exchange Control Panel
- Exchange Server 2010 : OWA (part 1) - Configure File Access and WebReady Document Viewing & Segmentation Settings
- Exchange Server 2010 : Configuring Client Access - Outlook Anywhere and RPC Clients
- Windows Server 2008 R2 : Deploying and Using Windows Virtualization - Quick Migration and Live Migration (part 3)
- Windows Server 2008 R2 : Deploying and Using Windows Virtualization - Quick Migration and Live Migration (part 2)
- Windows Server 2008 R2 : Deploying and Using Windows Virtualization - Quick Migration and Live Migration (part 1)
- BizTalk 2010 Recipes : Document Mapping - Using Inline XSLT
- BizTalk 2010 Recipes : Document Mapping - Passing Orchestration Variables into Maps
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server