You need to sign in to do that
Don't have an account?
mohammadd ismail
Exporting report as csv file
How to get a report into csv format which is outside of salesforce.
Thanks in advance
Thanks in advance
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Please find the below code snippet matching your requirement criteria.
Here's an example schedulable class that might be used to email a file. Note that the last five lines need to be ignored or stripped; I'll leave this as an exercise to the reader.
You could also build a SOQL query, execute it, then build the CSV yourself, but that means the system is hard-coded and less flexible. Of course, you could build an interactive configuration (perhaps by the use of a custom object or custom settings), which would help work around that particular limitation of flexibility, but that is by far more complex. Please mark this as the best answer if it helps you.
Best Regards,
Nagendra.P
All Answers
If you have a pre Built report, execute (RUN) the report. Click on the "Export Details" button. It would provide you an Export File Format option with .xls and .csv. Select the latter and click the EXPORT button.
Please mark this as Best Answer, if it resolves you query.
Thanks
Siddharth
OSI Consulting
Please find the below code snippet matching your requirement criteria.
Here's an example schedulable class that might be used to email a file. Note that the last five lines need to be ignored or stripped; I'll leave this as an exercise to the reader.
You could also build a SOQL query, execute it, then build the CSV yourself, but that means the system is hard-coded and less flexible. Of course, you could build an interactive configuration (perhaps by the use of a custom object or custom settings), which would help work around that particular limitation of flexibility, but that is by far more complex. Please mark this as the best answer if it helps you.
Best Regards,
Nagendra.P