Jump to content

BIRT Developer Center Download


Submitter

File Information

  • Submitted: Nov 06 2015 02:34 PM
  • Last Updated: Nov 06 2015 02:34 PM
  • File Size: 12.1KB
  • Views: 5465
  • Downloads: 19
  • Approved by: JFreeman
  • Approved on: 18 November 2015 - 12:28 PM
  • Summary: Automatically update BirtDateTime parameters for scheduled reports in an Actuate server environment.
  • Content Type: Designs & Code
  • BIRT Version: iHub3, Actuate 11

Download Auto Update BirtDateTime Parameters For Scheduled Reports 1.0

- - - - -



Screenshots
This example was created to update dynamic BirtDateTime parameters for scheduled reports in an Actuate server environment.

This code uses a hidden parameter called "HIDDEN_ReferenceDate" as a reference to determine if this report
was scheduled in an Actuate server or ran manually from within a designer or Actuate server.
This allows recurring jobs with dynamic BirtDateTime parameter values to be updated when the job runs on
a day succeeding the date the job was scheduled.
This is determined because when a report is scheduled, the parameter values are cached on the server for
the next run cycle. Because the parameter values are cached and not the formulas that populate the
parameter values, this results in the parameter "HIDDEN_ReferenceDate" to always have the original value
of when the report was scheduled and not the date it is currently running.

Any additional parameters added to the report that use BirtDateTime in its Default value Expression will
automatically update upon the next scheduled run of the report.

What's New in Version 1.0 (See full changelog)

  • Initial Release







1 user(s) are online (in the past 1 minutes)

0 members, 0 guests, 0 anonymous users


Bing (1)