Welcome to Office Zealot Sign in | Join | Help

michael reinhart

Men are from Earth, women are from Earth. Deal with it.
Fixing the SharePoint Document Properties
We recently deployed a new SharePoint Portal Server (2003) and began migrating our documents to document libraries on Windows SharePoint services team sites from our old SharePoint Portal Server (2001). During the process, the Author and Created Date properties of the documents were being set to the person doing the migrating and the date of the migration. Keeping the original values is important to us because the Author's of these documents are our Knowledge Workers and need to be easily identified as such for follow up. The Word Document properties remained correct. There were at least a couple of other people in the SharePoint newsgroups experiencing the same pain-- I guess I missed my chance to address this during the beta but I needed to find a solution. I was preparing to try to hack something within the SQL database to fix this when out of the mist came some new documentation on the Add method of the SPFileCollection class. At least I think it was new---pays to keep current with your SDKs... Looks like we'll be able to grab the Word properties for Author and Created Date and shove them into the SharePoint properties.
Posted: Tuesday, January 27, 2004 5:41 AM by reinhart

Comments

No Comments

Anonymous comments are disabled