7

The PurgeTool can be run from the command line with configuration in an XML file. What happens if both the parameters Settings/Keep, Settings/CutOffDate and Scan/Entry@DaysToKeep are all set?

Will the purge tool...

  1. Only look at the DaysToKeep parameter on the Scan/Entry element?
  2. only purge items which meet the Keep and CutOffDate and DaysToKeep parameter
  3. only purge items which meet the Keep or CutOffDate or DaysToKeep parameter
  4. do something else

I have a case where history is deleted while it did no meet the DaysToKeep parameter so that looks like 1 or 3.

Also see the Tridion manual (login required).

3

Per my knowledge it will only be one option true at one time - Either Number of Version to Keep OR Keep Version Modified After OR Day to Keep.

You are supposed to create you configuration XML by saving from the Purge Tool interface.

Now if you want to play around the XML yourself and put all the options set in to it, it will simply pick up the first option given in the XML and executed.

(Based on my experience so far in SDL Tridion 2009)

| improve this answer | |
  • In Tridion 2011 SP1 there is no feature to save the configuration, also the configuration on the level of Entries is available in the config file only. Indeed in the GUI there is a radio button for the Number of Version to Keep OR Keep Version Modified After OR Day to Keep. – Jan H Apr 10 '13 at 13:20
  • Please check live content site: sdllivecontent.sdl.com/LiveContent/web/… They claim that you can save the configuration. – Pankaj Gaur Apr 10 '13 at 13:37
  • The purge tool that ships with 2011 SP1 has both Save and Load on the file menu, however the save and load functionality looks a bit clunky to me. ISTR that the implementation had to be backwards compatible with an earlier format, which might explain this. – Dominic Cronin Apr 10 '13 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.