I have a load of surveys, in excel, with 2 columns, question, answer.
I'm importing this info using the CsvBulkLoader in model admin.
it imports the individual items (surveyItems) ok, but what I want to do is create a relationship with 'Surveys' and 'SurveyItems'
Two options as far as I can see:
Either a kind 'onBeforeImportCSV' function that create the Survey item, then attaches this ID to each item.
Or, like in the 'Security Area', create a group (or in this case Survey), then there is an 'import' tab on the screen.
Does anyone have any ideas for how to implement either of these two options?