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?
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.
@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.
@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
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,
Maybe you can use this? https://github.com/kasperhhk/Umbraco.CourierProviders/blob/master/src/Umbraco.CourierProviders.Core/Grid/DoctypeGridEditorGridCellDataResolverProvider.cs
Don't know if it works though...
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)
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 :-(
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.
@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.
@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
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
is working on a reply...