If you need to do it on an ongoing basis, you could also try my UnVersion package which, for configured pages, can automatically clean up versions where you don't need them, just keepin the latest.
Thats right. So the way you have it setup, any documents of type RunwayTextpage and Section, when published, will auto clear out their version history. You can also use the rootXpath if you want to limit this to a certain area of the site. Any standard Umbraco XPath should work.
delete versions?!
Is there anyway that I can delete all the previous versions of a document and keep the last one ?!!
Any help much appreciated
Thank
Ali
Ali,
Take a look at the excellent client tools http://clienttools4umbraco.codeplex.com/
Regards
Ismaiol
If you need to do it on an ongoing basis, you could also try my UnVersion package which, for configured pages, can automatically clean up versions where you don't need them, just keepin the latest.
http://our.umbraco.org/projects/website-utilities/unversion
Matt
Hi Matt, Thanks for you quick reply.
I have installed your package. and change the unversion.config to this
<?xml version="1.0"?>
<unVersionConfig>
<add docTypeAlias="RunwayTextpage" />
<add docTypeAlias="Section" />
</unVersionConfig>
how can I trigger it ? It didnt delete the previous versions of Sections? !
Just found out, I need to publish the document that it will delete all the previous versions
Cheer Matt
Hey Ali,
Thats right. So the way you have it setup, any documents of type RunwayTextpage and Section, when published, will auto clear out their version history. You can also use the rootXpath if you want to limit this to a certain area of the site. Any standard Umbraco XPath should work.
Many thanks
Matt
Thanks mate,
Just for curiosity, is there any way that we can set it up that keeps only last 10 versions?
Ali
Hey Ali,
Not right now, but it's on my list, along with a couple more updates. As soon as I get the time, I'll give it a bit of an update.
Matt
Great
that is a wicked package mate.
Cheers
Ali
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.