How do I add a company property control to a document?
tl;dr: I can insert Show I am trying to create a template Word 2010 document which will have some fields auto-populated with document properties. I am using Insert > Quick Parts > Document Property context menu and:
How can I / should I match fields that are available in Insert > Quick Parts > Document Property menu with actual document's properties? Or how can I insert a field that will contain address, phone number and telephone number that will be always populated with document properties and will not require user to manually provide them in the document? asked Apr 21, 2020 at 20:23
1
As far as I know, we can use Quick Parts > Document Property to insert a Content Control to display properties of current document. You can add document properties on Info page(File > Info > Properties > Advanced Properties) . You can see Company is there. Considering Company Address, Company E-mail, Company Fax, Company Phone are not standard properties included in documents, there are no built-in properties corresponding to these Content Controls. It won't display any company information because these company information is included in current document. I'm guessing you'll have to create custom document properties and map them to content controls. See Mapped Content Controls and Repeating Data (or populating multiple like fields). You can add custom document properties (File > Info > Properties > Advanced Properties > Custom)and use DocProperty fields instead. (Insert > Quick Parts > Filed, select Document Information and DocProperty ) answered Apr 22, 2020 at 3:06
3 You do not need registry hacks or third party tools except for Office365 ("template Word 2010). This information is drawn from the author information (user).
So either on a single PC you fill them out for the user and from then on they can be used or in a company environment you import those either from active dir user database/ldap or from an exchange server or similar. Or you write a VBA forcing the user to fill in the used/needed fields when first using the template answered Apr 21, 2020 at 22:02
Design tab under Header & Footer Tools. On the Insert tab, click Quick Parts and then click Field. In the Field names list, click Page, and then click OK. After the page number, type a space, type of, and then type another space. On the Insert tab, click Quick Parts and then click Field. In the Field names list, click NumPages, and then click OK. After the total number of pages, type a space, and then type pages. To change the numbering format, click Page Number in the Header & Footer group, and then click Format Page Numbers. To return to the body of your document, click Close Header and Footer on the Design tab (under Header & Footer Tools). What are the two ways you can insert a document property?To insert a document property in Word, you must insert a field of the type DocProperty. Using the built-in functionality, you can insert a DocProperty field either via the Field dialog box or by typing the field code manually.
Can you insert document property fields anywhere in a document?You can insert document property fields anywhere in a document.
|