Copied to clipboard

Flag this post as spam?

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

  • Richard Thompson 100 posts 336 karma points
    Feb 21, 2019 @ 16:47
    Richard Thompson

    Configuring a field provider


    I'm importing a doc type which uses the uComponents MultiUrlPicker in Umbraco 6 to an Umbraco 7 site which uses the Umbraco MutliUrlPicker for that property.

    I'm trying to write a field provider so that I can map the data from the old format to the new format.

    I've decorated the field provider with the following:

    [FieldProvider(PropertyEditorAlias = "29f9301c-31f8-437d-b6b5-897c1cafe586", Priority = FieldProviderPrio.High)]
    [FieldProvider(PropertyEditorAlias = "Umbraco.MultiUrlPicker", Priority = FieldProviderPrio.High)]

    If I add a break point in my parse method it never gets hit. This leads me to believe that I'm not decorating my provider correctly.

    I'd be grateful for some assistance.



  • Richard Soeteman 3968 posts 12470 karma points MVP
    Feb 22, 2019 @ 07:14
    Richard Soeteman

    Hi Richard,

    Make sure to implement the IFieldProvider Interface as well.



  • Richard Thompson 100 posts 336 karma points
    Feb 22, 2019 @ 09:39
    Richard Thompson

    Hi Richard,

    Thanks for the reply. It turns out I was mistaken on the property type we were using. I should have used RJP.MultiUrlPicker rather than Umbraco.MultiUrlPicker as we are using that package for the URL picker.

    Thanks again for the help.


Please Sign in or register to post replies

Write your reply to: