All Questions
Tagged with fileupload contentdocument
4 questions
3
votes
1
answer
190
views
Using Multi-Part API Create Document in Salesforce Given Max File Size Error
I am trying to upload file to my Salesforce Instance using REST API documented here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm
...
0
votes
0
answers
395
views
Anyone using sfdx force:data:bulk:upsert to update Files (ContentDocument/ContentVersion)?
I have some small place-keeper files (ContentDocument/ContentVersion) loaded by some existing code but want to replace the content with the actual PDF/Video data. This is to pre-load scratch orgs with ...
0
votes
1
answer
604
views
How to make files Archived using apex ? (isArchived = true)
I am in one of the requirements where I need to set IsArchived = true when user uploading any files using Upload files option.
I thought apex trigger will work here but it doesn't
trigger ...
1
vote
1
answer
4k
views
How to get the Content document Id for file that was just uploaded for a custom object
I have a requirement to allow a user to upload a csv and the system needs to process the file. I am planning to write an apex batch that is scheduled when a file is uploaded. The batch will need to ...