Copied to clipboard

Flag this post as spam?

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


  • ivan 41 posts 182 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 2343 posts 14890 karma points MVP 8x 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 41 posts 182 karma points
    Sep 13, 2020 @ 16:45
    ivan
    0

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

  • Jason D 75 posts 247 karma points
    Aug 21, 2024 @ 17:53
    Jason D
    0

    It's still not working in Usync 13.2.1. I have done export to file, then clean import from file on three instances, and they either don't map, or show as trashed.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft