View Single Post
 
Old 06-27-2018, 05:07 AM
Guessed's Avatar
Guessed Guessed is online now Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
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

Your client probably did this inadvertently by using the 'safe saving' of the Document Inspector. You can explore this by going to File > Options > Trust Center > Trust Center Settings > Privacy Options > Document Inspector > Custom XML Data.

I would expect that by putting the file back into Sharepoint you have reinserted the xml file which but at that time the fields are empty by default so the CCs then go back to showing the field contents again of the text they were previously displaying.

You could create a macro to harvest the contents of each CC and what their xpath mapping is. That might enable you to recreate the xml file in its entirety. I find this pretty complex to code so it would be easier to harvest the info in the CCs and then, after you have reinserted the xml by putting the file into Sharepoint, refilling the CCs with your harvested values to repopulate the xml indirectly.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote