Print date remains empty after running document inspector


C

conny

Hi,

we experienced the following problem when removing SharePoint based meta
information from a Word 2007 docx document that was originally stored in a
document library.

The meta information from the document in question was removed by running
Document Inspector with the option to remove document properties and personal
information.

After this, a strange effect occured: Obviously, the print date information
in the document does not work anymore.

Print date property fields in the document keep displaying the value
"00.00.0000 00:00" (European format) and the file property in Windows
Explorer shows an empty value for the print date, no matter if or when the
document was last printed or saved as PDF. Other properties like create date
work fine.

When reverting to the original version of the document before performing the
meta data cleaning with document inspector, the print date fields and
property are okay and update in the regular way when printing or saving as
PDF.

We suspect this to be a bug in document inspector. Does anyone have an idea
on how the print date property might be fixed? Or is there an alternative way
to remove SharePoint based meta data without using document inspector?

Any suggestions are highly appreciated.
 
Ad

Advertisements

B

Bob Buckland ?:-\)

Hi Conny,

I'm not sure if Sharepoint plays a part in this, but you may want to check with the folks in the Sharepoint discussion group for
additional features that you may have through that product.

When you run the Word 2007 Document Inspector and use [Remove All] on the
Document Properties and Personal Information, unlike some of the other information properties, where Word leaves the property ID
but blanks the content the Document Inspector removes the core property
<cp:lastPrinted>
<\cp:lastPrinted>
which would explain the 0:00 fill.

It appears that Word won't put an entry back in for that property unless you remove from the settings.xml part of the document the
Word setting
<w:removePersonalInformation />
If that setting is manually added to Settings.xml, then the date/time stored in core print property time, if present, won't, it
appearts be updated when you print.

Word also balks at trying to open the file if you put in just the placeholders of
<cp:lastPrinted>
<\cp:lastPrinted>

It wants a 'valid' (correctly formatted) Date/Time stamp it appears.

The Document Inspector(s) can be customized but I don't recall how granular the adjustments made can be vs using a macro to remove
metadata instead of the document inspector.
http://msdn.microsoft.com/en-us/library/aa338203.aspx

============Hi,

we experienced the following problem when removing SharePoint based meta
information from a Word 2007 docx document that was originally stored in a
document library.

The meta information from the document in question was removed by running
Document Inspector with the option to remove document properties and personal
information.

After this, a strange effect occured: Obviously, the print date information
in the document does not work anymore.

Print date property fields in the document keep displaying the value
"00.00.0000 00:00" (European format) and the file property in Windows
Explorer shows an empty value for the print date, no matter if or when the
document was last printed or saved as PDF. Other properties like create date
work fine.

When reverting to the original version of the document before performing the
meta data cleaning with document inspector, the print date fields and
property are okay and update in the regular way when printing or saving as
PDF.

We suspect this to be a bug in document inspector. Does anyone have an idea
on how the print date property might be fixed? Or is there an alternative way
to remove SharePoint based meta data without using document inspector?

Any suggestions are highly appreciated. <<
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
Ad

Advertisements

C

conny

Hi Bob

Thank you very much for your detailed and very helpful information! After
reading through your post I did some indepth research on the new document
format (which I had not done yet - shame) and analysed what information is
stored where in my document. It turned out that SharePoint specific meta data
is stored in CustomXml (at least the information I want to remove).
Therefore, I tested the document inspector again on the original file, this
time only applying the option to remove custom xml properties. It neatly
removed the unwanted data, leaving the other document properties including
the print date untouched.

I still find it strange that the printdate is removed when you use document
inspector on personal information. I suppose this will cause problems to a
lot of people. I think that Microsoft should extend the document inspector to
make it a more granular tool or add at least more transparency on what
information is actually removed or reset when applying which option.

Thank you again for your support!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top