Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Word 2010 you can insert document properties from the Insert ribbon. For example:

Insert > Text > Quick Parts > Document Property > Subject

If you do this a control will be added with the following placeholder text:

[Subject]

Notice the square brackets around the word Subject. These square brackets are not present in the placeholder text for manually inserted controls (which can be inserted using the Developer ribbon).

When a user opens the document, replaces the placeholder text with his own text, the document metadata is updated. This behavior is different from a field which can only be updated by first updating the metadata.

Unfortunately the range of document properties that can be added to the document is limited, and I would like to add other (custom) properties this way as well.

How can I manually insert a control that will update document metadata with the content entered in the control?

share|improve this question

2 Answers 2

I've found a way to do this, in Word 2007 at least. Not quite in the same way as the already defined document properties, and I don't know how well it show up outside of Word, but it at least does appear to fit the bill for an updatable property field....

First type your text that you want to make into an updatable document property and create a bookmark for it. Effectively just select the text then go to

Insert -> Links -> Bookmark

then enter the bookmark/property name you want and click Add

enter image description here

Next click the "Office" button and get to the advanced document properties:

Office -> Prepare -> Properties

enter image description here

In the Subwindow that opens:

Click `Document Properties` and select `Advanced Properties`

enter image description here

This will give you the following window, in which you can go to the Custom tab and if you enter your Bookmark name, click Link to content and then Add will give you a custom property that will always show the contents of that field in the document.

enter image description here

Whether this does exactly what you are wanting I'm not completely sure, as it does seem a bit limited and messy, but it does at least seem to get somewhere near.

Hinted at by Microsoft

share|improve this answer
    
Although it's a neat solution, it's not user friendly. Selecting the complete text and then changing it breaks the link and the property is then not updated. –  michielvoo Jun 15 '11 at 21:00
    
Well, there's a page from Microsoft about viewing or changing the document properties(office.microsoft.com/en-us/word-help/…), but I can't see any other way to go about creating your own properties. Maybe you could get away with re-purposing one of the existing properties? –  Mokubai Jun 15 '11 at 21:42

This was one of the suggested edits that an anonymous user tried to append to your question. I rejected the edit, but thought of adding it as an answer to your question. See if it helps:

1-In word 2010, File Menu Tab --> Info--> properties Command --> Advanced Properties 2-From Document Properties Window --> Custom Tab

Here you can add new control and assign to it Type and Value.

Now to add this control to your document

1-Insert tab-->text group-->Quick parts command-->Field 2-From Field Window-->Categories drop-down list-->choose Document Information 3-Choose the Field name "DocProperty" 4-From the property Section Choose the Field Name you just added. 5-Choose OK

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.