Copied to clipboard

Flag this post as spam?

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


  • ivan 35 posts 176 karma points
    Sep 08, 2020 @ 20:11
    ivan
    0

    USYNC and Umbraco.NestedContent Media not included when sync

    Hi There!

    I'm new to usync..I tried to sync Umbraco.NestedContent with images inside but when I publish or pull the changes it does not include the media files.Do I need to configure any settings at the backend?

    enter image description here

    enter image description here

    Thanks! Ivan

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Sep 08, 2020 @ 21:26
    Kevin Jump
    100

    Hi,

    The issue isn't with nested content, but rather that you have a custom media picker, so uSync doesn't know that the property contains media or how it is stored 🙁

    To tell uSync about the custom media property - you need a class that implements the ISyncMapper interface.

    you can see the existing mappers that ship with uSync in the source : https://github.com/KevinJump/uSync8/tree/v8/dev/uSync8.ContentEdition/Mapping/Mappers

    for example the UdiPickerMapper handles mapping media/content when the picker stores the UDI values in a list.

    If the custom mapper does the same, you could inherit this class and change the editor value to match the alias the custom mapper uses.

  • ivan 35 posts 176 karma points
    Sep 13, 2020 @ 16:45
    ivan
    0

    This is now resolved on uSync v8.7.0 version! Thanks Kevin!

Please Sign in or register to post replies

Write your reply to:

Draft