+

Search Tips   |   Advanced Search


Clearing item history

Use the clear history tool to clear the history of an item.

  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:

    • content

    • style for presentation templates

    • template for authoring templates

    • taxonomy

    • category

    • site

    • SiteArea

    • Workflow

    • WorkflowStage

    • WorkflowAction

    • Cmpnt for components

    library

    Enter a library name. If the "library" parameter is omitted, the default library that has been configured in WCMConfigService.properties will be 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.


Parent topic:

Maintaining Web content