New answers tagged contentversion
0
votes
How to upload a Salesforce File using REST API properly?
I had similar issue when I was uploading a file from a Salesforce Guest Site and the below code worked for me.
LWC - HTML Code:
<label class="form-label" for="fileUpload">...
0
votes
content version - clone from one object to another
In order for the Files to be duplicated, the content version needs to be duplicated and then new Content Document Link is to be inserted to link it to a new record Id.
I tried the below code and it ...
Top 50 recent answers are included
Related Tags
contentversion × 397contentdocument × 140
apex × 135
files × 78
contentdocumentlink × 74
rest-api × 33
content × 33
soql × 29
visualforce × 25
trigger × 25
unit-test × 24
lightning-web-components × 17
attachment × 16
api × 15
blob × 15
fileupload × 10
contentnote × 10
lightning × 9
community × 8
data-loader × 8
lightning-aura-components × 7
javascript × 7
opportunity × 7
libraries × 7
chatter × 6