Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2013, 09:09 PM
bhaughey bhaughey is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 64bit
Novice
Custom Document Property Lost From Template
 
Join Date: Mar 2013
Posts: 5
bhaughey is on a distinguished road
Unhappy Custom Document Property Lost From Template

Hi,



Does anyone know how to create a Custom Document Property in Word 2010 within a .dotx template file and have documents created from that template have the same Custom Document Property?

Whenever I open a template document with a custom property the custom property is lost??

Thanks in advance
Reply With Quote
  #2  
Old 03-04-2013, 11:23 PM
macropod's Avatar
macropod macropod is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Are you sure the Custom Document Property was saved in the template? For example, have you opened the template for editing and confirmed that the Custom Document Property is there? Are you sure you're actually using the modified template, and you didn't modify a copy of it?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-05-2013, 12:26 AM
bhaughey bhaughey is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 64bit
Novice
Custom Document Property Lost From Template
 
Join Date: Mar 2013
Posts: 5
bhaughey is on a distinguished road
Default

thanks for the reply. yes it is still saved in the template but if i open the template from windows explorer it opens a new document based on template (rest of features are there) but the custom property no longer exists. does this not happen for you?
Reply With Quote
  #4  
Old 03-05-2013, 01:02 AM
macropod's Avatar
macropod macropod is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Quote:
Originally Posted by bhaughey View Post
if i open the template from windows explorer it opens a new document based on template (rest of features are there) but the custom property no longer exists.
That's quite normal, and if you tried to add the Custom Document Property to the template that way, you most likely failed.

To edit the template, you need to open it from within Word, using File>Open, choose 'All Word templates' from the Type dropdown, then navigate to the templates folder and choose your template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-05-2013, 01:53 AM
bhaughey bhaughey is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 64bit
Novice
Custom Document Property Lost From Template
 
Join Date: Mar 2013
Posts: 5
bhaughey is on a distinguished road
Default

Thanks, yes that is what I do to initially edit the template and add the Custom Document Property and that saves to the template. However if I now open the template from explorer (so no longer the original but a copy based off the original) the Custom Document Property is no longer there however the rest of the templates features are there (e.g. formatting etc).

I think I'm using templates correctly, it just seems that the Custom Document Property isn't being passed on to documents based off the template.

Thanks again for any assistance.
Reply With Quote
  #6  
Old 03-05-2013, 02:04 AM
macropod's Avatar
macropod macropod is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

That really does suggest you're editing one template and creating a document from another template.

I have just re-confirmed that, in Word 2010, a Custom Document Property added to a template is replicated in a document based on that template. See attached. double-click on the template and Word should create a new document with a Yes/No Custom Document Property named 'Test'.
Attached Files
File Type: zip Template.zip (18.3 KB, 11 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 03-05-2013, 02:15 AM
bhaughey bhaughey is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 64bit
Novice
Custom Document Property Lost From Template
 
Join Date: Mar 2013
Posts: 5
bhaughey is on a distinguished road
Default

ok that's great thankyou, i haven't got word on my phone but will test tomorrow and check again exactly what i am doing wrong then report back
many thanks again for your assistance,
Reply With Quote
  #8  
Old 03-05-2013, 12:01 PM
bhaughey bhaughey is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 64bit
Novice
Custom Document Property Lost From Template
 
Join Date: Mar 2013
Posts: 5
bhaughey is on a distinguished road
Default

Ok, so your example worked. And I created another template (macro enabled) and that worked too. However the template I've added it to is the 'normal.dotm' template and that is where I am having problems - I probably should have mentioned this at the start but thought it was the same as other templates.

I've taken a copy of the normal.dotm and renamed it to notnormal.dotm and documents created from that template have the Custom Document Property, if I rename it back to normal.dotm documents created from it no longer have the CDP.

Seems to be the case:
http://windowssecrets.com/forums/sho...-field-to-Word

http://www.vbaexpress.com/forum/showthread.php?t=5119

Reply With Quote
  #9  
Old 03-05-2013, 02:11 PM
macropod's Avatar
macropod macropod is offline Custom Document Property Lost From Template Windows 7 64bit Custom Document Property Lost From Template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

You can edit the Normal template directly. However, you have to make sure you edit the same copy of it that you're double-clicking - Word stores copies in multiple folders. See the 'Sticky' post at the top of this forum for how to find the 'correct' one for both purposes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Watermark to custom property kerend Word 0 04-08-2012 05:03 AM
Lost word document Sen Word 0 03-27-2012 11:53 AM
Creating document from template but macros are still linked to template webharvest Word 0 07-16-2011 09:34 AM
Custom Document Property Lost From Template QuickParts - custom document property untttt Word 2 06-09-2011 05:24 PM
Want to search for "class", replacing with document property YetAnotherAuthor Word 0 10-30-2009 09:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:04 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