Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

CSV Import with relation from BackEnd


Go to End


3 Posts   1176 Views

Avatar
biapar

Forum Moderator, 435 Posts

5 February 2011 at 10:16pm

Hi,

I need to import csv data file from ModelAdmin Manager Backend.
In backed the Csv specifications are:
Specifiche per DisponibilitaItem

Columns
Giorno
Giorno
Matrimoniale
Matrimoniale
Doppia
Doppia
Tripla
Tripla
DUS
DUS
Relations
Mesi
Mese

How Do I map relations ( 1 - to - N ) into csv file?
I tried to insert Value for "Mese" but I see that not mapping relation, that is in child row that column is empty.
Help.

Thank you

Avatar
biapar

Forum Moderator, 435 Posts

8 February 2011 at 4:47am

I solved with bulk insert with phpmyadmin.
But my question is yet open.

Bye

Avatar
CraftsMan

Community Member, 35 Posts

17 March 2011 at 5:46pm

Did this work for you directly adding data via phpmyadmin?