Copied to clipboard

Flag this post as spam?

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


  • Dan Lister 416 posts 1974 karma points c-trib
    Sep 24, 2013 @ 15:34
    Dan Lister
    0

    Ignoring Courier Item Providers

    I'm attempting to setup Courier to ignore certain types of Item Providers so that only Documents and Media Items are packaged when creating on source sites. I've found the ignore list of Item Providers within Courier's config file. Unfortunately, whenever I create a package to transfer, things such as Document Types and Page Templates are included. Here's what I've tried so far without any luck. Any help would be greatly appreciated.

    <itemProviders>
      <ignore>
        <add>Umbraco.Courier.ItemProviders.DataTypeProvider</add>
        <add>Umbraco.Courier.ItemProviders.DocumentTypeItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.FileItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.FolderItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.LanguageItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.MacroItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.MacroPropertyTypeItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.MediaTypeItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.RelationsProvider</add>
        <add>Umbraco.Courier.ItemProviders.StyleSheetItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.TemplateItemProvider</add>
        <add>Umbraco.Courier.ItemProviders.ItemProviders.TagRelationsProvider</add>
      </ignore>
    </itemProviders>

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Sep 25, 2013 @ 19:00
    Per Ploug
    0

    Hmm, the format looks right, and the names of the providers are also correct, logging it as a bug and will investigate

  • mscommunities 40 posts 95 karma points
    Mar 01, 2014 @ 05:23
    mscommunities
    0

    I am trying to ignore DataResolvers and am not having any luck either. The document says this: "This is done by adding its full namespace and class to the configuration, you can ignore any item provider, data resolver, repository provider or any other functionality that’s loaded through Couriers provider model."

    <ignore>
    <!-- Ignore the lucene indexer -->
    <add>Umbraco.Courier.DataResolvers.Events.UpdateLuceneIndexes</add>
    <!-- ignore all ucomponents data resolvers -->
    <add>Umbraco.Courier.uComponents.*</add>
    <!--<add>my.namespace.*</add>-->
    </ignore>

     

    I added this and it did not work for me:

    <ignore>
    <add>Umbraco.Courier.DataResolvers.RelatedLinks</add>
    </ignore>
  • David Twamley 9 posts 101 karma points
    Nov 04, 2015 @ 16:45
    David Twamley
    0

    I'm keen to turn off some providers too and have had no luck. I couldn't find a bug filed for it yet so I made a new one:

    http://issues.umbraco.org/issue/COU-234

    I've tried on 7.2.8 with Courier 2.51.2 and again with Nightly 263. I've tried on 7.3.1 with Nightly 263.

Please Sign in or register to post replies

Write your reply to:

Draft