Nibble

Transfering Umbraco Contour forms with Courier 2

Last week Courier 2 was released, Courier 2 makes it possible to compare and transfer content, doc types, templates, media, … between umbraco instances in a couple of clicks (saving you loads of time when working with multiple environments since it will detect all dependencies, and you won’t have to care about ID conflicts since that is simply handled by courier). You can read more details on it here: http://umbraco.com/products/more-add-ons/courier-2 

But it doesn’t stop with the standard umbraco parts like doc types and templates,… Courier comes with an API that enables you to also support custom data.

Details on how to get started with a custom provider can be found in the sample item provider docs: http://nightly.umbraco.org/UmbracoCourier/Sample%20Itemprovider.pdf
and sample sourcecode
http://nightly.umbraco.org/UmbracoCourier/Sample%20ItemProvider%20Source.zip

So wouldn’t it be great to be able to transfer Contour forms with Courier

image

Based on the sample item provider documentation I wrote a provider for Contour, you can download the assembly here: http://contourprovcourier.codeplex.com/releases/view/67524

Make sure you have Courier 2 and Contour installed on both source and target installation, then simply drop the assembly in the bin directory of both installations.

And you should now be able to transfer forms and changes to forms between instances. Courier will also be able to pick up any dependencies you might have to Contour form, if you are transferring a content node that has a form inside the rte or a template with a form macro on it Courier will know and also transfer the form.

Check it out:

9 Comments so far

  1. Tim on June 3rd, 2011

    Can this be used with the basic version of Courier, or do you need the more expensive version with the API/Command line etc?

  2. Tim Geyssens on June 3rd, 2011

    To plug in third party providers you’ll need the full version but we’ll make it possible to use the Contour provider on the express version in the next minor release.

  3. Gordon on July 4th, 2011

    I downloaded the DLL from codeplex and dropped it in the bin folder of both websites, but it does not appear to be working. The Courier menu does not appear when right mouse clicking on a form in Contour.

    Also, the form was not transferred when I used Courier to transfer a page whose template contained a contour form macro.

    What could be wrong?

  4. Tim Geyssens on July 11th, 2011

    @Gordon, could you try upgrading Contour to this version: http://nightly.umbraco.org/Umbraco Contour/1.1.9 WIP/

  5. Wade on August 9th, 2011

    To plug in third party providers you’ll need the full version but we’ll make it possible to use the Contour provider on the express version in the next minor release.

    Has this been implemented. There was a new release only a few days back, but it doesn’t say anything about this feature. This still seems very buggy…

  6. ghjfgjh on February 20th, 2012

  7. Chester Campbell on May 24th, 2012

    Hi, Any chance you’re going to update this provider to support Courier 2.6? I tried it out on a dev site … Courier 2.6, Contour 1.1.1, Umbraco 4.7.0 … and it broke all my XSLT macros. Error is: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.macro.GetXsltExtensionsImpl() at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) at umbraco.macro.GetXsltExtensions() at umbraco.macro.AddMacroXsltExtensions() at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) at umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object sender, EventArgs e)

  8. health dating on July 4th, 2012

    Hello there! This post couldn’t be written any better! Looking through this post reminds me of my previous roommate! He always kept preaching about this. I will forward this article to him. Pretty sure he’s going to have a great read. Thank you for sharing!

  9. Bavaro Business Promotion on September 2nd, 2012

    One smart line for today: I failed to make the chess team because of my height.
    Bavaro Business Promotion

Leave a Reply