For a given content type, the fields created in CCK are not exported, at least in XLS and CSV formats (I have not tried the other formats). Only the standard Node fileds are exported.

CommentFileSizeAuthor
#2 Views Export issue.zip728.83 KBrdelachica

Comments

steven jones’s picture

Category: bug » support

Views data export is perfectly capable of exporting CCK fields, as they are exposed to views just like any other field.

Have you added any of the CCK fields to your view? They're in the 'Content' subsection of the add field form.

rdelachica’s picture

StatusFileSize
new728.83 KB

I have attached a file with screen shots of the issue. I have included details of the content type, the view and the export file generated which I hope give you more information to interpret the error.

rdelachica’s picture

It looks as if it was a permissions issue, apologies for the time wasted.

rdelachica’s picture

Status: Active » Closed (works as designed)

Configuration error at my end. Issue closed

johnv’s picture

Title: Only node fields are exported. New CCK fileds are ignored » Only node fields are exported. New CCK fields are ignored (caused by wrong settings)

Changing title. Due tot status (works as designed), I kept thinking that CCK-fields cannot be exported.

gluebox’s picture

This snagged me too, I was not seeing any CCK fields in my data export. Ensuring that I was user 1 helped.

My syntax:
drush -d -u 1 views-data-export program_report_events views_data_export_1 test.csv

rclemings’s picture

Issue summary: View changes

FWIW, I had a similar issue involving profile2 fields.

Details:

https://www.drupal.org/node/1132978#comment-9502043