Export document list to excel/csv

Is there a standard framework feature of exporting list views to excel or csv?

Yes,this is possible by using 'Data Import Tool ’
Steps:-

  1. Go to “Setup” Module
  2. Go to “Data”
  3. Go to “Import/Export data”
  4. select Respective Document (For Example- Account)
    5.Either You download Blank Template for data exporting (Fill data and upload Template) OR
    Download Template with data (In that,you can update data)
    6.Save downloaded template in CSV format
    7.and upload CSV

Shraddha Ranjane
New Indictrans Technologies Pvt. Ltd.

2 Likes

If you want to download via api use:

frappe.tools.downloadify([array], [optional roles] ,[optional filename]);
1 Like

Thanks for your answer! I assume it’s not possible to do so within actual Customer list for example, accounting for the currently selected filters?

You can do that from the Reports section #Report/Customer

What if the document is custom made, Couldn’t I find my Custome DocType on the list of documents?

Have you enabled Import in your custom doctype?