Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy Felton 185 posts 484 karma points c-trib
    Oct 08, 2017 @ 09:15
    Andy Felton
    0

    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

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Oct 09, 2017 @ 17:05
    Richard Soeteman
    0

    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

  • Andy Felton 185 posts 484 karma points c-trib
    Oct 11, 2017 @ 13:14
    Andy Felton
    0

    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

  • Andy Felton 185 posts 484 karma points c-trib
    Oct 17, 2017 @ 06:15
    Andy Felton
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft