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
    0

    Can't create custom Content Mapping

    Hi!

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

    Sample: https://gist.github.com/madsoulswe/efbb896fc6cebf5c5e5fdb8789f4ad01

    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 2310 posts 14695 karma points MVP 7x c-trib
    Apr 28, 2016 @ 13:54
    Kevin Jump
    0

    hi,

    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 2310 posts 14695 karma points MVP 7x c-trib
    May 05, 2016 @ 13:30
    Kevin Jump
    0

    Hi

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

    Kevin

Please Sign in or register to post replies

Write your reply to:

Draft