Copied to clipboard

Flag this post as spam?

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


  • Gijs van Dam 2 posts 22 karma points
    May 20, 2012 @ 20:36
    Gijs van Dam
    0

    Default value for ignored fields

    It would be real nice to be able to fill fields that aren't available in the source data, with a default value.

    By choosing --ignore-- at the database column AND adding a default value with aditional mapping options

    This is already possible but now results in an error message stating that you should choose a database field.

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    May 21, 2012 @ 08:54
    Richard Soeteman
    0

    Hi Gijs,

    Yes you need to pick a database field indeed. This is because CMSImport currently only looks at the mapped properties. This is because of performance reasons. Maybe it will change in a future release for now it might be a nice work around to havecolumns with null data in your datasource for those properties.

    Thanks,

    Richard

  • Gijs 38 posts 133 karma points
    May 22, 2012 @ 09:23
    Gijs
    0

    Thanks for the reply. That's indeed the approach I've taken. So it worked out in the end. :D

    To have a work around for your performance issues, you could add an extra option to the dropdown list next to --ignore--: --default value--

    Just a thought.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies