Copied to clipboard

Flag this post as spam?

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

  • Dennis Öhman 32 posts 177 karma points c-trib
    Apr 28, 2016 @ 13:28
    Dennis Öhman

    Can't create custom Content Mapping


    I'm trying to create a simple one level mapper for Nested Content but I cant't get it to run.


    I used ArchetypeContentMapper as a template and registered it in the same way:

    <uSyncContentMapping Alias="Our.Umbraco.NestedContent" Mapping="Custom" CustomMappingType="Web.uSyncMappers.NestedContentMapper, Web" />

  • Kevin Jump 2317 posts 14746 karma points MVP 7x c-trib
    Apr 28, 2016 @ 13:54
    Kevin Jump


    that looks like it should work :( I can't spot anything.

    if you turn debugging on in log4net.config you might get a clue.

    if the config is picking it up you should see. see some lines starting with

    Mapping Content Import: ....

    that might point to what isn't happening *if you don't see these lines for the nested content properties then usync isn't trying to find a map. so you're code will never get called. *

  • Kevin Jump 2317 posts 14746 karma points MVP 7x c-trib
    May 05, 2016 @ 13:30
    Kevin Jump


    For info - The custom mapper for Nested Content is now in the latest version ( of uSync. (and uSync.Core on Nuget)


Please Sign in or register to post replies

Write your reply to: