Clear item history

You use the clear history tool to clear the history of an item.

You must first enable the clear history tool by adding the following parameters to the WCM WCMConfigService service using the IBM WAS administration console:

  1. Log in to the portal as an administrator.

  2. Open the following URL in the browser and specify details of what history details to clear:

        http:// [HOST]: [PORT]/wps/wcm/myconnect?MOD=ClearHistory&day=date&month=month&year=year&keep=number_of_entries&restrictOn=item_type&library=library_name&fix=true

      day, month and year

        The history details will be cleared prior to the date specified in the day, month and year parameters. If no date is specified, then the date will default to one year before the current date.

      keep

        Specify the minimum number of history entries to keep. For example, if an item has not been updated for over a year, and you specify to clear all history entries more than a year old, but choose to keep the last five entries, all the history will be cleared except for the last five entries even though they are over a year old. If a number is not specified, then the minimum number of history entries to keep will default to 10.

      restrictOn

        Select the item types to run the clear history tool against. If no item types are specified, all item types will be processed. Use the following parameters for each item-type:

      library

        Enter a library name. If the "library" parameter is omitted, the default library that has been configured in the WCM WCMConfigService service is used.

      fix

        If omitted or set to false, a report listing which history items will be cleared is displayed. If set to true, history items will be cleared as specified.

You cannot completely clear item history. One history item will always remain in an item no matter what parameters you select when clearing the item history.


Parent

Maintain web content


Previous

Set service configuration properties

December 14, 2011
   

 

Apr 1, 2011 1:26:17 PM

});


+

Search Tips   |   Advanced Search