Hi - I've got a View set up (type Users) where I can enter a start and end date and it brings back a list of all users who registered between those dates. I'd like to export this list to a CSV file so I installed the Bonus Pack, created a Feed display and attached it to my View. I get the orange CSV icon at the bottom - but when I click it nothing happens? The page just refreshes and I get this appended to the end of the URL:

?attach=page_1

Any ideas??

thanks!

Jason

Comments

fkildoo’s picture

I have the same exact problem and can't find a solution. I've read you need to create an argument for CSV, but that is not showing as an option. Very frustrating.

fkildoo’s picture

I figured it out. I don't have any arguments on the feed view, so that wasn't really the issue. In Views/Feed under Style:CSV, click on "provide as file" and add the filename, like this "filename.csv". And also add the path under Feed settings like this - users/filename.csv.
Worked for me!

ambientdrup’s picture

Does your export to CSV only export the results of your exposed filter? Or does it export all of your page view results? I have my export working to CSV but even with exposed filters configured, the export always exports all of the View results. How can I set it up so it only exports the results of the exposed filter search?

Did you use arguments for this?

-backdrifting

eike’s picture

Similar problems here. Exporting with exposed filters seems to work. I configured taxonomy ids as arguments and when I manually enter path_to_csv/tid I get a file with the filtered results. What doesn't work is the link that is automatically generated to the export file which passes the parameters as query string ("path_to_csv?tid=n" instead of path_to_csv/tid). I'm not familiar enough with views and the views bonus pack as to judge if there is a bug or if I'm doing something wrong.

kclarkson’s picture

Category: support » feature

@fkildoo THANK YOU !!!!! You saved my life.

I think this should go in the documentation or something because this was a huge problem for months until "today".

JayKayAu’s picture

Status: Active » Closed (won't fix)

This documentation no longer applies, as of Drupal 6 and Views 2, which work in a different way.

See the discussion here: #356727: Document use of Views 2 CSV Export