Adding time stamps to file names in email attachments

In email messages, when you attach Cognos Business Intelligence reports, the report names can include time stamps if administrators set the advanced property emf.dls.attachment.timestamp.enabled. Optionally, the format of the time stamp can be specified by setting the advanced property emf.dls.attachment.timestamp.format.

About this task

The default format for the timestamp is: yyyy-MM-dd, where yyyy is the four-digit year, MM is the two-digit month, and dd is the two-digit day. For example, if you attach the report Annual Result in a message, the email that is sent has the following attachment: Annual Result - 2014.07.15.pdf.

Optionally, you can change the time stamp format by setting the advanced property emf.dls.attachment.timestamp.format. For example, the time stamp 15.07.2014 has the format dd.MM.yyyy and the time stamp 140704120856-0700 has the format yyMMddHHmmssZ. For more information on SimpleDateFormat, see the Oracle website.

Procedure

  1. Follow the steps in the topic Configuring advanced settings for specific services.
  2. In the list of dispatcher services, find the EventManagmentService.
  3. On the Set advanced settings - EventManagementService page, in the Parameter column, type emf.dls.attachment.timestamp.enabled.
  4. In the Value column, type true.
  5. Optional: In the Parameter column, type emf.dls.attachment.timestamp.format. In the Value column, type a date format.
    Tip: Do not use a slash or special characters in the format.