Upload contentdocument

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
I have uploaded documents using file upload as "In Content Document (with Record Context)" with a parent model of "CR_File_DNA__c".  How do I view the files attached to a CR_File_DNA__c record?  It looks like there is a field "ContentDocumentId" in the "ContentDocumentLink" that creates a relationship with the field "ContentDocument".   
This documentation: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contentdocumentlin...
is not clear.  What field links back to my "CR_File_DNA__c object" ?
Photo of Bill Fox

Bill Fox

  • 9,012 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 18,830 Points 10k badge 2x thumb
Check out my post from a couple years back..... read through all my comments as I struggled with all the different objects.