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
Radha Rathinavel 1Radha Rathinavel 1 

how to save the attachment in custom object when content version(File) object is inserted

Hi,

How to save the file in custom object when new files get inserted in content version(file) object.

My custom object name :
Case_Attachment__c

Whenever the files gets inserted in content version object. I need to get the content document id  from the content version to insert in custom object "Case_Attachment__c"
NagendraNagendra (Salesforce Developers) 
Hi Radha,

Sorry for this issue you are encountering.

May I suggest you please check with below link from the stack exchange community with a similar discussion which might help. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra