+ Start a Discussion
Anil Savaliya 37Anil Savaliya 37 

How to export and import Salesforce attchment mean file in lightning

Hello,
i have created record in sandbox through Salesforce lightning UI and attached some document with record,In lightning UI,Document save as a file,i can export and import data But How can I export file and import file in production.
Kailas NambiKailas Nambi
Hi,

You need to export attachement from Sandbox using Dataloader, and import in production via Dataloader.


User-added image

Thanks
Nambi
Sweet Potato Tec
Dushyant SonwarDushyant Sonwar
Hi Anil ,

There is an app on appexchange called FileExporter released by Salesforce Labs . 
You can use that to migrate attachment to files.
https://douglascayers.com/2015/10/10/salesforce-convert-attachments-to-chatter-files/

File Exporter:
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000003Iz0jEAC

Migration - from Attachment to Salesforce Files
https://salesforce.stackexchange.com/questions/122301/migrate-attachments-to-salesforce-files

Hope this helps.