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
mauro_offermannmauro_offermann 

How to mass upload salesforce CRM Contents associated with an object?

I enabled Salesforce CRM Contents on my org.

I need to associate 17000 different documents with its accounts.

I upload successfully 17000 documents via dataloader to ContentDocument object but they are not associated as related content to accounts. How can I do that?

Best Answer chosen by Admin (Salesforce Developers) 
Sonam_SFDCSonam_SFDC

Hi Maur,

 

AFAIK, there is no direct relation between Accounts and Related Content such that you can setup an association between the two using any field 

 

There is an existing Idea on the Idea exchangewhich is similar to yours https://success.salesforce.com/ideaView?id=08730000000IQvrAAG which I would encourage you to promote - if you can explain your use case - that would be great so the Product Management team can understand the need and demand.

 

I would also suggest you to go through the workaround mentioned there.