Hi All,

Is it possible to get dynamicly generated file name durin export? It would be nice to have at least date there for example:
2012-03-16_my-export.csv

If its possible then how? Please advice.

Thank you.

Comments

rolkos’s picture

Category: support » feature
ultimike’s picture

It's not super-obvious how to do this, but it is pretty easy.

The downloaded filename has nothing to do with the "path" in the "data export settings" - that is simply the path that is used to trigger the generation of the file.

To set the actual filename, click "settings" next to "CSV file" in the View's "format" section. Then, check the "provide as file" box and then set the filename (including token) there.

-mike

joachim’s picture

xurizaemon’s picture

Category: Feature request » Support request
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

aniket.mohite88’s picture

Hi,

Another solution for dynamic filenames during export here -
https://www.drupal.org/node/1288612#comment-11251445