PIMCore - CSV Import Mapping Parent and Object Title

868 views Asked by At

PIMCore - using the Community Edition, how do you map the parent of newly created objects via a CSV import so they don't all go in the root folder you originally selected, also how do you map the object title via the same CSV import, I'm currently ending up with objects with the PIMCore ID as the Title (1, 2, 3, etc.)

2

There are 2 answers

2
Dee On

You can use a column for Parent Mapping

$document->setParentId(#yourColumn#);
1
Mariusz Gomse On

I'm quite sure that you need to choose Filename as the Resolver Strategy in the Resolver Settings and put correct prefix e.g. (or column which has got full path): Resolver Settings

I just tried it on the Pimcore Advanced Demo with csv like:

Title
title1
title2
title3

and as you can see seems to work correctly :)

Hope it helps! :) BR