Activity › Forums › Salesforce® Discussions › How can we update ContentDocumentLink in Salesforce? Salesforce® Discussions How can we update ContentDocumentLink in Salesforce? Posted by Aditya on July 20, 2020 at 4:15 PM How can we update ContentDocumentLink in Salesforce? Shweta replied 5 years, 10 months ago 3 Members · 2 Replies 2 Replies Anuj Member July 20, 2020 at 4:23 PM Hope this will help you. https://salesforce.stackexchange.com/questions/235571/cannot-update-contentdocumentid-in-contentdocumentlink [adinserter block='9'] Shweta Member July 20, 2020 at 4:28 PM You can’t update the LinkedEntityId field of ContentDocumentLink object because the field is not writeable. But you can delete the previous ContentDocumentLink and insert a new ContentDocumentLink with updated ContentDocumentId & LinkedEntityID. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me