function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jay KanchanaJay Kanchana 

Merging content Documents to create versions

Hello!

We use saleforce content to store files. We recently discovered a bug where in some cases our application was creating different content documents instead of saving them as different versions of the same document. We have since then fixed the bug. But now we have these previously created content that instead of being different versions of the same document are in the system as seprate documents. Is there a way we can make them as different versions of the same document? May be we can use data loader or some other tool and change the contentversionId or content document ID?

thanks!
Jay
Gaurav KheterpalGaurav Kheterpal
I believe you can do this using both Salesforce Data Loader and dataloader.io by setting the mapping field to be contentversion id. Have you tried that?