You need to sign in to do that
Don't have an account?

Associating CRM Content with custom objects.
Ho can we associate(attach/detach) crm content "ContentVersion" records to some custom object programatically?is there any method exposed to attach/detach in API?
Here you go. this should help. You can use Apex to insert ContentVersion records and tie to Custom objects using Content Types. I've blogged about all those topics at this link:
Programmatically Upload Content