The time period values are stored in the {DSHOME}/config/DSCommon.properties file in units of hours for 30 days or less. If the value is greater than 30 days the unit is stored in months multiplied by 1000.
The Default values along with their equivalent time value that would be configured in the DSCommon.properties files are listed below.
Equivalent Time value listed in DSCommon.properties
1 hour = 1
1 day = 24
3 days = 72
1 week = 168
2 weeks = 336
30 days = 720
2 months = 2000
3 months = 3000
6 months = 6000
To change the trashcan expiration period:
Option 1:
1. Open Windows Explorer and browse to the {DSHOME}\config directory.
Where {DSHOME} is replaced with the installation directory for DocuShare. The default installation path is C:\Xerox\Docushare. Depending on your installation environment the path may vary.
2. Make a copy of the DSCommon.properties file and rename it DSCommon.properties.orig.
3. Open the DSCommon.properties file in a text editor such as Notepad.
4. Search for the trashExpiration= entry.
Example: trashExpiration=0.
5. Change the value.
Examples:
To make the Trashcan Expiration period 1 year (12 months) you would multiply 12 by 1000 which equals 12000. Therefore the value would be set to trashExpiration=12000.
To make the Trashcan Expiration period 2 years (24 months) you would multiply 24 x 1000 which equals 24000. Therefore the value would be set to trashExpiration=24000.
Note: If you change the value to something greater than 6 months then the DocuShare Admin UI will display Expired=never.
6. Save the file.
7. Restart DocuShare.
Option 2:
1. Open Windows Command Prompt Run As Administrator, go to {DSHOME}\bin
Where {DSHOME} is replaced with the installation directory for DocuShare. The default installation path is C:\Xerox\Docushare. Depending on your installation environment the path may vary.
2. Run the command to change the value to 12 months:
dssetprop.bat server trashExpiration 12000
Solution Published: July 21st, 2011
Solution ID: 878