Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-28-2024, 09:16 PM
Guessed's Avatar
Guessed Guessed is offline Changing custom properties in multiple word documents Windows 10 Changing custom properties in multiple word documents Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You are correct in thinking that Sharepoint adds custom XML to a document for attributes/properties configurable via the Sharepoint properties. That custom XML can be extracted in entirety (each of the custom XML files) or you can drill into those files to find a particular xml element value and extract that. It isn't a simple task to extract a spreadsheet summarising document properties because the number of custom xml files will likely vary from doc to doc and there could be somewhere between 2 and 10 of them - each one containing a variable number of nested xml elements.

In my experience, Sharepoint adds more than one xml file and the namespace and elements will most likely vary depending on how your Sharepoint library is configured.

If you have a task of updating a particular Sharepoint property on a large number of files held in a Sharepoint library, the easiest way would be to create a Table View in that library which includes that property and then use copy/paste to fill that property's column.

The alternative to this is much more time consuming:
1. Download all the files to your hard drive
2. Work out which custom xml file contains the field you want to update - you need its namespace and the xml element's unique name.
3. Create a macro to open each of the documents, update that xml element's value, save & close.
4. Upload all the docs back into Sharepoint.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add custom doc properties in "Doc properties control" eazysnatch Word 2 09-13-2017 08:08 PM
Changing custom properties in multiple word documents Searching with Custom Properties jpb103 Word VBA 6 05-30-2014 07:08 AM
Changing custom properties in multiple word documents Changing Default Author on New Word 2013 Documents chaplaindoug Word 1 01-09-2014 12:00 PM
Custom Properties b-baker Word 1 03-01-2012 01:15 AM
Looping though Custom Properties in VBA suekay Misc 0 05-19-2006 06:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:04 PM.


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