Copied to clipboard

Flag this post as spam?

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


  • Antony Briggs 78 posts 103 karma points
    Jan 18, 2016 @ 18:25
    Antony Briggs
    0

    Is there a courier resolver

    Hi,

    Is there a courier resolver for the DTGE?

    I've seen a 3rd party one for NC so I'm guessing it's possible?

    And am I right in thinking that if/when there is a courier resolver available it will indicate necessary media etc. that needs to be transferred as well as helping package the JSON up?

    Thanks,

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Jan 18, 2016 @ 19:16
  • Antony Briggs 78 posts 103 karma points
    Jan 18, 2016 @ 20:10
    Antony Briggs
    0

    Thanks Søren,

    I had come across that repo but hadn't notices the grid folder!

    After a quick squiz through, that looks like it should deal with creating dependencies for media etc referenced in the nested docType.

    fake doc types within grid cells within real docTypes... Oh My! (it's all getting very meta)

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 18, 2016 @ 22:36
    Lee Kelleher
    0

    I was going to post the same link as Søren :-)

    I haven't tested it either. If you do get chance to try it out, let us know how it goes.

    I've been trying to contact the developer of that code, hoping he'd be interested in collaborating - no joy yet though :-(

  • Antony Briggs 78 posts 103 karma points
    Jan 20, 2016 @ 10:24
    Antony Briggs
    0

    I've just given this repo a go using u-aas and it picks up all the dependencies from the nested content perfectly.

    However, it doesn't appear to unpack the values of the nested content correctly.

    I'll see if I can debug this later today - Do you know if it's possible to pull content from the dev uaas instance to local after the initial sync?

    There was once change I had to make: It looks like DTGE used to store the docType guide and now stores the alias in a field called dtgeContentTypeAlias.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 20, 2016 @ 13:14
    Lee Kelleher
    0

    @Antony - with UaaS, on your local clone, there should be a menu item (from the context-menu on the root Content section) called "Restore". That should pull down the latest content from the Development environment.

  • Antony Briggs 78 posts 103 karma points
    Jan 20, 2016 @ 14:32
    Antony Briggs
    0

    @Lee Aha, I hadn't noticed that there was a context menu on the root content item - Thanks.

    I think the Issue with the code in that repo is that it's based on GridCellDataResolverProvider which is marked as Obsolete with the comment "Do not use this class it has problems, use GridCellResolverProvider instead"

    The Core grid resolvers are based on GridCellResolverProvider and it doesn't look like a lot of effort to port them over.

    Hopefully I'll get a chance to port it over in the next week or so - My current client is 50/50 whether to commit to the Grid in their next build

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 20, 2016 @ 14:38
    Lee Kelleher
    0

    Cool!

    I haven't had chance to dig into the code myself, so not sure of the differences :-)

    Do keep us posted on it if you do get chance to do it. I'd love for DTGE to have a stable Courier resolver.

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft