Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Add Courier Resolver #11

Closed
leekelleher opened this issue Apr 8, 2015 · 16 comments
Closed

Add Courier Resolver #11

leekelleher opened this issue Apr 8, 2015 · 16 comments

Comments

@leekelleher
Copy link
Collaborator

No description provided.

@rustyswayne
Copy link

Hi Lee,

Is this the courier resolver for UaaS to assist in keeping the ContentType setting in the PreValue editor wired up when committing?

@leekelleher
Copy link
Collaborator Author

@rustyswayne Yes, it would cover adding all the associated DocType dependencies and resolving all the (nested) property values.

However I have not yet written any code for this yet. (We're not actually using NestedContent in production on UaaS yet)

Nik Wahlberg asked me about this too recently - @nwahlberg did you make any progress with developing one?

@rustyswayne
Copy link

@nwahlberg @leekelleher I have not written one of these yet, but have to figure them out (esp. for Merchello). If you guys have a start and/or can point me to so info to get started I'd love to help on this one to get the idea.

@paulsterling
Copy link

@leekelleher
Copy link
Collaborator Author

Here are the links to the Courier resolvers that I wrote for Archetype and Mortar.

https://github.com/imulus/Archetype/blob/master/app/Umbraco/Archetype.Courier/DataResolvers/ArchetypeDataResolver.cs

https://github.com/leekelleher/umbraco-mortar/blob/develop/Src/Our.Umbraco.Mortar.Courier/DataResolvers/MortarDataResolver.cs

Mortar is officially unreleased, but it's code has been used in both NestedContent and DocTypeGridEditor

There's some old Courier documentation on how to develop 3rd-party add ons, etc.
https://github.com/umbraco/Courier


Ah! Just noticed @paulsterling's reply (as I was typing this) 👍

@nwahlberg
Copy link

He gents, this got de prioritized for us do we never did anything further. It will become relevant again in the next few weeks. 
We started working on it based on the archetype handler. 

Sent from mobile (please pardon typos)

@leekelleher leekelleher added this to the 0.3.0 milestone Jul 22, 2015
@leekelleher leekelleher removed this from the 0.3.0 milestone Nov 30, 2015
@leekelleher
Copy link
Collaborator Author

@paulsterling
Copy link

@leekelleher Posting here as the dis/play folks seem to have made some progress https://github.com/display/Umbraco-courier-providers

@YodasMyDad
Copy link

Is there anyway that the Nested Content provider above can be installed with Nested Content?

@leekelleher
Copy link
Collaborator Author

@YodasMyDad It'd need to be in a separate DLL/download, as the provider would need to depend on Courier assemblies, which if for regular Umbraco installs (that don't use Courier), it would throw a YSoD.

@YodasMyDad
Copy link

Ah ok. No problem.

@YodasMyDad
Copy link

Sorry bud. One last thing. Is it as simple as building that project above, and dumping the DLL in my bin folder to get it to work with UaaS?

@leekelleher
Copy link
Collaborator Author

leekelleher commented May 20, 2016 via email

@YodasMyDad
Copy link

Ok so I just tried those courier providers with standard Umbraco datatypes within my nested content and it worked fine. I added a limit of 4 in NestedContent so I could check if the prevalues went over correctly and they did along with the actual content 👍

@leekelleher
Copy link
Collaborator Author

Thanks @YodasMyDad, that's great news!

@leekelleher
Copy link
Collaborator Author

Closing this one off, as a Courier resolver is available here:
https://github.com/display/Umbraco-courier-providers

...and going forwards, the move to Umbraco core should mean native support in Courier.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants