I would like to mass upload a file of photos. I have the record Ids. I am following the steps in this article but it doesn't mention anything like Content Version ID yet it is a required field on the Content Version object.
3 answers
Please refer to the below link -
https://www.youtube.com/watch?v=-2OS6QylZQ0
If you are targetting to upload files under any specific record - mention the same under FirstPublishLocationId.
If you want the files to be uploaded under the Salesforce Files - give your user Id under FirstPublishLocationId.
You can try with workbench by omitting the ContentDocumentId field - works this way too