London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

CSV import to ItemCollection<T> property

Vote:
 

Hi all

We have a product model that contains an ItemCollection property that editors can use to make multiple selection for that property.

We are trying to import a list of products where we need to apply multiple selection for this property.

What I seem to have issue with is to figure out the correct format for the field in CSV file that should fill out the property.

I hope that someone has tried this and has an answer.

Best regards

Miroslav

Commerce version: 11.4.1.0

#187695
Feb 01, 2018 1:04
Vote:
 

My memory is a bit rusty, but you for the ItemCollection<T> you mentioned, you probably need a DictionaryMultiValue metafield, which can be map to a "abc,xyz,hello,world" value in the CSV.

#187804
Feb 02, 2018 15:18
Vote:
 

Thanks Quan, that was it.

#187994
Feb 08, 2018 8:29
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.