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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1285 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?