Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2011, 12:10 AM
NicBodkin NicBodkin is offline Add custom document properties into document Windows XP Add custom document properties into document Office 2007
Novice
Add custom document properties into document
 
Join Date: May 2011
Posts: 5
NicBodkin is on a distinguished road
Question Add custom document properties into document


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 ?
Reply With Quote
  #2  
Old 05-04-2011, 02:26 AM
macropod's Avatar
macropod macropod is offline Add custom document properties into document Windows 7 32bit Add custom document properties into document Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 05-04-2011, 04:30 AM
NicBodkin NicBodkin is offline Add custom document properties into document Windows XP Add custom document properties into document Office 2007
Novice
Add custom document properties into document
 
Join Date: May 2011
Posts: 5
NicBodkin is on a distinguished road
Default Not quite what I was trying to achieve.

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.
Attached Images
File Type: png Document field.png (945 Bytes, 51 views)
Reply With Quote
  #4  
Old 05-04-2011, 05:53 AM
macropod's Avatar
macropod macropod is offline Add custom document properties into document Windows 7 32bit Add custom document properties into document Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #5  
Old 05-04-2011, 09:29 AM
NicBodkin NicBodkin is offline Add custom document properties into document Windows XP Add custom document properties into document Office 2007
Novice
Add custom document properties into document
 
Join Date: May 2011
Posts: 5
NicBodkin is on a distinguished road
Default

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 ?
Attached Images
File Type: png Custom DIP.png (5.4 KB, 27 views)
File Type: png Custom DIP data sources.png (3.5 KB, 47 views)
Reply With Quote
  #6  
Old 05-04-2011, 02:37 PM
macropod's Avatar
macropod macropod is offline Add custom document properties into document Windows 7 32bit Add custom document properties into document Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #7  
Old 05-05-2011, 01:43 AM
NicBodkin NicBodkin is offline Add custom document properties into document Windows XP Add custom document properties into document Office 2007
Novice
Add custom document properties into document
 
Join Date: May 2011
Posts: 5
NicBodkin is on a distinguished road
Default

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 !
Reply With Quote
  #8  
Old 05-05-2011, 04:44 AM
macropod's Avatar
macropod macropod is offline Add custom document properties into document Windows 7 32bit Add custom document properties into document Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #9  
Old 05-05-2011, 09:09 AM
NicBodkin NicBodkin is offline Add custom document properties into document Windows XP Add custom document properties into document Office 2007
Novice
Add custom document properties into document
 
Join Date: May 2011
Posts: 5
NicBodkin is on a distinguished road
Smile

Thanks for that. I'll follow the link and see if I can get any further !
Reply With Quote
Reply

Tags
custom, dip, panel

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add custom document properties into document Help with Document Properties Prompt Macro KJJ Word VBA 14 11-10-2016 08:18 PM
Add custom document properties into document Default Custom Dictionary Based on Document 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

Other Forums: Access Forums

All times are GMT -7. The time now is 10:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft