Copied to clipboard

Flag this post as spam?

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


  • Giuseppe 34 posts 56 karma points
    Jan 11, 2012 @ 12:50
    Giuseppe
    0

    Courier issue with Repeatable Custom Content v2

    Hi,
    in our project we use the control "Repeatable Custom Content v2" to insert media files and text in repetable mode in our documents.

    Now we'are moving our pages from staging to production area trought Courier and there is a big issue: all media inserted with Repeatable control aren't moved in production area, the document links other media files. Only testual proprierty data are moved correctly but files, video or images, so all media files, not work!

    We have config courier config with guid id of control as well:

    <add key="repeatableCustomContent">a3f767bc-1953-480c-b4ed-1646eabd5a65</add>

    We have also Courier Pro licence.

    Do you have any solution for this?

    Thanks
    Giuseppe

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 11, 2012 @ 14:50
    Ismail Mayat
    1

    Giuseppe,

    You need to write your own adaptor to handle custom datatypes. There should be some example code in the documentation on how to this.

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 11, 2012 @ 14:54
    Ismail Mayat
    0

    Sorry not data adaptor but data resolver the docs can be found here Data Resolvers.pdf

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Jan 11, 2012 @ 15:10
    Per Ploug
    0

    Yup that is correct, Courier 2 doesn't support Repeatable Custom Content out of the box, as it creates a custom xml structure in your property, which Courier doesn't understand. 

    We try to support as many popular projects as possible, and encourage project owners to add resolvers to their custom data types, but currently "repeatable custom content" is not one of those. 

    However, as Ismail said, you can create your own resolver, the source code here: 

    http://nightly.umbraco.org/UmbracoCourier/samples/Umbraco.Courier.DataResolvers%20Source.zip

    is a good starting point and the docs that ismail links to as well can help you on your way. 

    /Per

  • Giuseppe 34 posts 56 karma points
    Jan 11, 2012 @ 15:46
    Giuseppe
    0

    Thanks a lot, I will see your docs and source code and hope to solve the issue.

    Giuseppe

  • Giuseppe 34 posts 56 karma points
    Jan 12, 2012 @ 11:22
    Giuseppe
    0

    Per, at which custom type refers the code uploaded by you?

Please Sign in or register to post replies

Write your reply to:

Draft