Setting up default annotation properties
Use an override.properties file for a project to change default settings for annotations.
As its name suggests, an override.properties file located in the deployed_project_name/WEB-INF/config folder overrides any default project settings found in the bowstreet.properties file. The cluster.properties file, located in the same folder, also contains a configuration setting for annotations that you can override.
Enable security for annotations by adding the following line to the override.properties file.
This property must be set to true; otherwise, the annotation engine will not provide access control to comments, and all users will be able to view comments, even if only certain users have been specified in the Privacy Settings.
Allow files to be attached to annotations. This change is made in the cluster.properties file, located in the deployed_project_name/WEB-INF/config folder.
Set the bowstreet.upload.enabled property to true:
Expiration of annotation alerts
Change the expiration interval for annotation alerts by adding the following line to the override.properties file. By default the interval is 14 days, which causes alerts for annotations to be disabled when they have aged 14 days.
where n represents the number of days to keep annotation alerts active.
Use the Annotation Administration portlet to preserve older annotations without saving them in the database. Annotations that were created within the range you set are saved to a file and removed from the database.
To work with the portlet, go to the page where the Annotation Administration portlet is deployed.
- Click the calendar icon to pick a Start date, then click OK.
- Click the calendar icon to pick an End date, then click OK.
- Click OK to save your changes.
The archived files are stored in the /WEB-INF/solutions/annotations/db_persistence/archives directory, which is relative to the deployed WAR directory on WebSphere Portal.