I'm importing data from Umbraco V6.1.0 into a V7 new site. Most things are now working correctly. In the V6.1.0 version I have a document with a field of data type fleets which is a custom data type of Dropdown list multiple. On the V7 site I have a document with a field which is an Umbraco.DropDownMultiple.
When I run the import the field is not getting populated even then I've added all the same values to the 2 sites, any ideas why this might be?
It should match by name but it could be the custom datatype that is causing the issue since the export doesn't know about custom datatypes. What you could do is create a custom fieldprovider with prio high to see what values are coming in.
I ended up using my own FieldProvider and using PreValueHelper.GetDropdownValueByText to convert the text value to the ID as the default provider wasn't performing the mapping for me.
Import of Drop Down Multiple
Hi,
I'm importing data from Umbraco V6.1.0 into a V7 new site. Most things are now working correctly. In the V6.1.0 version I have a document with a field of data type fleets which is a custom data type of Dropdown list multiple. On the V7 site I have a document with a field which is an Umbraco.DropDownMultiple.
When I run the import the field is not getting populated even then I've added all the same values to the 2 sites, any ideas why this might be?
Thanks Andy
It should match by name but it could be the custom datatype that is causing the issue since the export doesn't know about custom datatypes. What you could do is create a custom fieldprovider with prio high to see what values are coming in.
Best,
Richard
Hi Richard,
I've done this and seem to be getting the values in correctly. I'll try and have another look later today.
Thanks Andy
Hi Richard,
I ended up using my own FieldProvider and using PreValueHelper.GetDropdownValueByText to convert the text value to the ID as the default provider wasn't performing the mapping for me.
Thanks Andy
is working on a reply...