New answers tagged

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 ...
user avatar
  • 12.8k
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....
user avatar
  • 11
-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<...
user avatar
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.
user avatar

Top 50 recent answers are included