Copied to clipboard

Flag this post as spam?

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


  • David Armitage 508 posts 2076 karma points
    Dec 20, 2016 @ 14:47
    David Armitage
    0

    Umbraco UnVersion Package - All Node Types

    Hi,

    Does anyone have any experience with the UnVersion package. I have installed this and I basically want to apply this upon all node types. I just wanted to know if I am doing it the right way and if this is safe.

    The description in the documentation threw me off a little since it was stating its recommended to provide a rootXpath if not a docTypeAlias.

    Since I want to fix up all nodes I am assuming its Ok not to provide any of these properties. Can anyone confirm either way?

    Here was the doc description....

    docTypeAlias [Optional] - The doc type alias of the documents to be unversioned, if undefined, applies to all (If you don't define docTypeAlias, it is advised you define rootXpath to narrow down the scope of the unversion).

    rootXpath [Optional] - An xpath statment to define the root folder for the unversion rule, ie: //NewsIndex

    Here is an example of the config I have added which I have applies UnVersion to all nodes....

    <add maxDays="2" maxCount="10" />
    

    More details about UnVersion here

    Kind Regards

    David

Please Sign in or register to post replies

Write your reply to:

Draft