Test Drive
Document Management & Sharing ...

Move SFDC Files to External Storage Test Drive

introduction in this test drive, we will check how cloudfiles can move documents stored in sfdc (e g in the notes & attachments section of a record) to an external storage such as sharepoint we will see how you can copy these documents into any external folder based on your custom logic additionally we will also see how you can delete the original file from salesforce if needed instructions to test out this feature, follow the simple instructions below go to 'accounts' tab and create a new account this should create a sharepoint folder visible in the 'files' tab of the record within the 'notes & attachments' section, upload some files try various formats including pdfs, excels etc check the 'files' tab again all pdfs would be copied to the 'presentations' sub folder all other formats would be copied to the root account folder all uploaded files would get deleted from salesforce except for excel files copying and deleting of salesforce files may take some time (a few seconds to a minute) if you don't see a copy of uploaded files, try refreshing the cloudfiles widget a couple times the gif below gives a visual representation of these steps implementation the following video shows the flow that made this possible if you'd like detailed steps on this implementation, check out our tutorial on this use case at automatically moving files from salesforce storage to external storage docid\ uagdkc286poziiqcaz53p beyond this test drive in this test drive, we've seen how cloudfiles helps copy or move your salesforce files and organize them in your external storage based on file types however, there are many variations of this possible such that it can fit your custom use case consider these possibilities among many the same functionality can be extended to email to case i e your email attachments can be moved to case folders which reside in sharepoint or any other external storage files of any size or type are supported by this you can try uploading files larger than 12 mb as well the functionality works for manual uploads as well as automatica uploads (e g from other apps such as conga or docusign) in this demonstration, we've illustrated file organization using few specific file types, but the capability extends to virtually any file type you can even organise the files based on file properties like file name, creation date etc you can also copy / move files across objects e g files uploaded on a lead object can be copied to the account folder you may find other test drives equally engaging do visit the test drive docid\ cgjldtde3usa oibbwgpn article for further exploration