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. *
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" />
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
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. *
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
is working on a reply...