COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => SDK => Topic started by: Darren12 on 26 Jul 2006 02:56:42 PM

Title: Date of Creation of a Report
Post by: Darren12 on 26 Jul 2006 02:56:42 PM
Hi,

I'm trying to delete all the reports that are older than 6 months from Content Store. This is a scheduled activity..which involves the creation of an .exe file.. this file runs in the background using a scheduler after startup of the server..the check is made daily..

My problem is how do I find the creation date of a Report using the Java code?

Any help would be appreciated..

Thanks,
Darren.
Title: Re: Date of Creation of a Report
Post by: avitabj on 15 Sep 2006 11:39:26 AM
Hi!  creationTime is a property of BaseClass and is searchable.  You could construct a searchPath with a filter like [@creationTime<"2006-09-14T19:05:00.00"].  Appendix G of SDK docs shows searchPath syntax.

hth..jean