Automatically update BirtDateTime parameters for scheduled reports in an Actuate server environment.
This example was created to update dynamic BirtDateTime parameters for scheduled reports in an Actuate server environment.<br />
<br />
This code uses a hidden parameter called "HIDDEN_ReferenceDate" as a reference to determine if this report<br />
was scheduled in an Actuate server or ran manually from within a designer or Actuate server.<br />
This allows recurring jobs with dynamic BirtDateTime parameter values to be updated when the job runs on<br />
a day succeeding the date the job was scheduled.<br />
This is determined because when a report is scheduled, the parameter values are cached on the server for<br />
the next run cycle. Because the parameter values are cached and not the formulas that populate the<br />
parameter values, this results in the parameter "HIDDEN_ReferenceDate" to always have the original value<br />
of when the report was scheduled and not the date it is currently running.<br />
<br />
Any additional parameters added to the report that use BirtDateTime in its Default value Expression will<br />
automatically update upon the next scheduled run of the report.
<br />
This code uses a hidden parameter called "HIDDEN_ReferenceDate" as a reference to determine if this report<br />
was scheduled in an Actuate server or ran manually from within a designer or Actuate server.<br />
This allows recurring jobs with dynamic BirtDateTime parameter values to be updated when the job runs on<br />
a day succeeding the date the job was scheduled.<br />
This is determined because when a report is scheduled, the parameter values are cached on the server for<br />
the next run cycle. Because the parameter values are cached and not the formulas that populate the<br />
parameter values, this results in the parameter "HIDDEN_ReferenceDate" to always have the original value<br />
of when the report was scheduled and not the date it is currently running.<br />
<br />
Any additional parameters added to the report that use BirtDateTime in its Default value Expression will<br />
automatically update upon the next scheduled run of the report.
Warning
No formatter is installed for the format ipb
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management