Skip to main content link. Accesskey S
  • IBM.com
  • WebSphere software
  • Machine Translation



Home > Lotus Web Content Management > Clearing item version

Clearing item version

No abstract provided.
Clearing item version

The Version Cropper Module is included in WCM cum fix CF12 and later for version 6014 & 6015, and CF6 and later for version 6101 & 6102.

To enable the version cropper module:

   1. Add the following lines to the WCMConfigService.properties file located in the portal_server_root/wcm/shared/app/config/wcmservices directory:

    connect.businesslogic.module.versioncropper.class=com.aptrix.versioncontrol.VersionCropperModule
    connect.businesslogic.module.versioncropper.remoteaccess=true
    connect.businesslogic.module.versioncropper.autoload=false

   2. add ",versioncropper" (without quotes) at the end of the "connect.businesslogic.module=" property in the same file.
   3. Restart the server for the configuation changes to take effect.


How to use Version Cropper Module:

1.    Log in to the portal as an administrator.
2.    Open the following URL in the browser and specify details of what version details to clear:
http://[HOST]:[PORT]/wps/wcm/myconnect?MOD=versioncropper&day=[DATE]&month=[MONTH]&year=[YEAR]&keep=[VERSION_ENTRIES_TO_KEEP]&restrictOn=[WCM_ITEM_TYPE]&library=[LIBRARY]

  • day, month and year
The version 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 minimum number of version entries to keep on Web Content Management items. If a number is not specified, then the minimum number of version entries to keep will default to 10. If the specified number cannot be 0, the latest version cannot be deleted.
  • restrictOn
Select the item types to run the Version Cropper Module 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 the WCMConfigService.properties file will be used.
  • fix
If omitted or set to false, a report listing which version items will be cleared is displayed. If set to true, version items will be cleared as specified.
 

This Version: 0 September 24, 2009 12:03:05 AM by developerWorks Lotus Team
Originally Added: Version 1 August 17, 2009 1:33:06 AM by jiayun chen