View or Move files(content version and content document link) of a custom object from one org to another org. #inSalesforce

View or Move files(content version and content document link) of a custom object from one org to another org. #inSalesforce


Scenario: Export only 1 custom object-related file(s).


SELECT ContentDocumentId, LinkedEntityId  FROM ContentDocumentLink where LinkedEntityId in ( SELECT Id FROM Opportunity ) and LinkedEntity.Type='Opportunity'


Comments