New answers tagged attachment
0
votes
Accepted
Can't update ContentVersion. My code create new file every time
To add a new ContentVersion for an existing File, you have to provide the existing ContentDocumentId before insert as below.
<Identify the Existing ContentVersion based on some criteria>
<get ...
1
vote
Syncing Files between orgs (e.g. via Salesforce Connect's Cross-Org Adapter?)
I'd suggest using MuleSoft or Heroku, if you are willing to customize heavily.
Sometimes, out of the box solutions, that Salesforce provides end up having a lot of limitations creating more roadblocks....
-1
votes
Getting the Error : Failed to load PDF Document on attachment preview
Try using this code:
public static void createVfPDF(Id bkId){
PageReference pdf = Page.NewDocumentchecklistPdfpage;
System.debug(bkId);
List<Booking__c> bList2 = new List<...
1
vote
Usage of magic mover app
Found an answer on researching.
It is possible to obtain all the files for a specific time range and we can convert them to files.
Top 50 recent answers are included
Related Tags
attachment × 695apex × 211
visualforce × 139
email × 68
trigger × 58
files × 56
pdf × 48
soql × 35
rest-api × 34
notes × 26
contentdocument × 24
data-loader × 22
lightning × 20
case × 20
custom-object × 19
upload × 19
blob × 18
contentversion × 16
lightning-aura-components × 15
javascript × 13
community × 13
csv × 13
images × 13
fileupload × 13
permissions × 12