This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

i have a belongsToMany relation ship setup to my user model called groups which has tables groups and assigned groups. all this works fine but i have now built a export feature so i can export users to mail chimp. However i can't seem to pull the groups that the user is assigned to onto my cvs export.

do i need to do something in the exportData function.

exportData($columns, $sessionKey = null)

any advise would be great!

Last updated

do you mean like this? https://octobercms.com/forum/post/export-with-relations?page=1#post-34238

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.