You need to sign in to do that
Don't have an account?
vivek jagatap 6
export files using Apex
I have a apex code which imports the data and upload it into the system.
After the upload I want the success records to be downloaded in excel.
After the upload I want the success records to be downloaded in excel.
1. Use report to export records in .CSV or excel format.
2. Use apex to build a CSV file and send CSV as email attachment
3. Use apex to build a CSV file and save as an attachment of a record, users can download the attachment.
4. Use dataloader or salesforce workbench.
Please refer below code