As per salesforce documentation, record can be created in ContentDocumentLink


LinkedEntityId - ID of the linked object. Can include Chatter users, groups, records (any that support Chatter feed tracking including custom objects), and Salesforce CRM Content libraries.

We have User Group (Not CollaborationGroup), want to share that file with that group. Is it possible to do that? If yes, How ?


You need to go to the ContentDocument that the link points to in order to share the File with other Users or Groups. See ContentDocument.

  • Although documentation says Groups, but User Groups are not allowed, these seems to be CollaborationGroup – Ashish Narang Jan 24 '17 at 6:35
  • I think you need to look at the Object Reference. Particularly CollaborationGroupFeed. – crmprogdev Jan 24 '17 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.