question

Wai C. avatar image
Wai C. asked ·

How can I put the timestamp or time range as a dynamic header of scheduled report?

In NAM, it seems like we can tweak with the timestamp or message only for alerting mail, not the scheduled mail.


Customer are scheduling a report to sent to them hourly. But hope that the email header or DMI Report header can consist of time range that automatically update itself when it is sent out, they think it would easier for them to keep track of the report, since there are many email in their mail box.


For example, at 3.30pm they would like to receive the report/email with the title "[1430-1530]_<DMI Title goes here>", then at 4.30pm they would like to receive the report/email with the title "[1530-1630]_<DMI Title goes here>"


Anyway this can be done?


Best Regards,

Wai Keat

configurationdashboardreports
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Sebastian K. avatar image
Sebastian K. answered ·

As of NAM 2019 you can use global expressions across many texts rendered in DMI reports to make reports more dynamic. Apart from links, breadcrumbs, annotations or chart labels, you can also use those global expressions in report titles.

There are two expressions that come predefined: timeRange and timeRangeName.

The latter is already used in the Service activity changes report:

To use Global variables you put them in the square brackets:

IMPORTANT: do not use them in Report name (this is like a report ID) where they will not be evaluated, but rather in Report title - where they will.

The report title will also be extended this way when rendering as PDF:

If neither of both predefined global variables works for you - you can define your own using the same syntax (and set of many available functions) as in visibility expressions across the report.

Let me know if you will need an assistance with creating such a global variable.


Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.