Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2018, 05:07 AM
Guessed's Avatar
Guessed Guessed is offline Content Control content deleted when re-uploading to SharePoint Windows 10 Content Control content deleted when re-uploading to SharePoint Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,184
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
  #2  
Old 06-27-2018, 12:26 PM
Peterson Peterson is offline Content Control content deleted when re-uploading to SharePoint Windows 7 64bit Content Control content deleted when re-uploading to SharePoint Office 2016
Competent Performer
Content Control content deleted when re-uploading to SharePoint
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default

Good to know re: "safe saving" -- I'll check in with the client about that; thanks.



In the meantime, I put together a macro to paste the client's redlines back into older "receiver" documents that are still recognized by the document library and contain intact CCs. Fortunately, based on the layout, it was pretty easy to work around the CCs.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Control content deleted when re-uploading to SharePoint One Content Control Checkbox checks another Content Control Checkbox DEsh Word VBA 2 10-06-2017 08:23 PM
Content Control content deleted when re-uploading to SharePoint Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
Content Control content deleted when re-uploading to SharePoint When content controls are deleted, my macro does not work as I would like. harry.ayre Word VBA 2 02-23-2015 10:35 AM
Uploading a document to SharePoint 2007 by email bremen22 Misc 0 05-28-2014 07:36 AM
Content Control content deleted when re-uploading to SharePoint Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM

Other Forums: Access Forums

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