Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

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 39 posts 119 karma points
    1 week ago
    Andy Felton
    0

    Field provider return values

    Hi,

    I'm importing data from another CMS and need to populate data types of Umbraco.MultipleMediaPicker and Umbraco.RelatedLinks, can you let me know the format of the object CMSImport needs from a Field Provider for each of these data types.

    Also on the MultipleMediaPicker will CMSImport also import the media if setup to do so?

    Thanks Andy

  • Richard Soeteman 3254 posts 9279 karma points
    1 week ago
    Richard Soeteman
    0

    Hi Andy,

    MediaPicker should work. The related links I am not 100% sure of. Did you test?

    Media should work fine indeed.

    Best,

    Richard

  • Andy Felton 39 posts 119 karma points
    5 days ago
    Andy Felton
    0

    Hi Richard,

    I did try both of these but am not sure what format you're expecting the object returned from the field provider to be in.

    Thanks Andy

  • Richard Soeteman 3254 posts 9279 karma points
    5 days ago
    Richard Soeteman
    0

    Hi Andy,

    It's what Umbraco expects for these values if CMSimport doesn't have a provider for this. Just check the cmsPropertyData table how the value is stored and make sure your fieldprovider returns the same format.

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft