![]() |
#1
|
|||
|
|||
![]() I have generated a Custom document panel using Infopath which contains 'fields' for my own propeties. I now wish to insert these into my document in the same way that the standard WORD ones are through 'Insert-Quick Parts - Document Properties' providing a link between the Document Information Panel entries and the 'fields' in the document. How can I do this ? |
#2
|
||||
|
||||
![]()
Hi Nic,
You should be able to find your custom proprties via Prepare|Properties > Document Properties > Advanced properties > Custom.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Hi,
Thanks for the reply. I realise I can insert those items in this way, but it is not quite what I am trying to achieve. As and example, if my specified Custom Document Information Panel (DIP) contains a data field called 'Issue' which is visible when the DIP is displayed I cannot insert this field into the body of my document as I can with the default document properties in the DIP, as in the attached image. I cannot associate the field in the DIP with that in the body of the document with the 'tag' indicating the item from the DIP. |
#4
|
||||
|
||||
![]()
Hi Nic,
When you creata a custom document property, that doesn't put its value into the body of the document. To do that, you insert a field pointing to the custom document property. you can do tha via Insert|Quick Parts|Field. When you select the DOCPROPERTY field option, your custom field should appear in the list. Alternatively, you can press Ctrl-F9 to create a pair of field braces (ie {}) and type 'DOCPROPERTY' followed by your property's name (eg 'Data') so that you end up with {DOCPROPERTY Data} then press F9 to update.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Hi,
Yep, I can do all that. My problem seems to be associated more with getting the data fields from my custom DIP to be accessible from within the document. I cannot attach my Infopath form; invalid file type; so I have taken screen-shots of the relevant parts. I have several fields which I would like to use within the document. When I attach my InfoPath Custom DIP to the document (Developer-Document Panel - Browse - Custom DIP.xsn) and display 'Custom Properties' by default, my DIP is displayed with all my empty data fields. However none of these are accessible to insert into my document via the Insert - Quick Parts - Document Property path (ideally) nor the Insert - Quick Parts - Field - DocProperty route as you suggest. How can I get my data fields in my custom DIP into the body of my document ? |
#6
|
||||
|
||||
![]()
Hi Nic,
That suggests your InfoPath Custom DIP isn't actually writing anything to the document's custom document properties - perhaps these data are only being stored in InfoPath (not an app I've worked with). If you code the InfoPath Custom DIP to add the custom document properties to the document and update them, all should be well.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
![]()
Hi Paul,
Yes I think that is essentially my problem. I have read several Microsoft articles on using InfoPath to generate a custom DIP with user fields which can then be used in a WORD document, but none of them then tell me how to get these fields into the body of the document. I suppose I'll have to move this question to the InfoPath forum ! |
#8
|
||||
|
||||
![]()
Hi Nic,
See if the following is of use: http://stephenmuller.com/2008/07/17/...h-office-pt-2/ As I said in my previous post, InfoPath is not an app I've worked with, so I can't provide any direct assistance.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
![]()
Thanks for that. I'll follow the link and see if I can get any further !
![]() |
![]() |
Tags |
custom, dip, panel |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
KJJ | Word VBA | 14 | 11-10-2016 08:18 PM |
![]() |
PatrickYork | Word | 3 | 04-03-2015 11:19 PM |
document properties issues | charris1980 | Word | 0 | 04-29-2009 12:49 PM |
Looping though Custom Properties in VBA | suekay | Misc | 0 | 05-19-2006 06:10 AM |
Visio - Custom Properties Timeout? | googull | Visio | 0 | 05-17-2006 07:37 AM |