The Default Report Settings entry exists in order to save administrators from having to enter similar configuration information into each report they add. Configuration information entered in this report entry will be automatically provided when adding new reports. Therefore, settings that many reports will have in common (Format, Schedule, etc) should be configured here.

Because the Default Report Settings entry is not a real report, it cannot be run, and cannot be deleted. Editing the entry, however, works just like editing any other report. Note that changes made to the Default Report Settings entry will NOT be applied to existing reports, only to new reports.

Altering the Styled HTML Format

The layout of Styled HTML format reports is controlled by a template file called "reporttemplate.htm" A copy of this file can be found in your "(webroot)\templates\en" folder (e.g., "d:\moveitdmz\wwwroot\templates\en") Do not change this file; it will be overwritten every time you upgrade. Instead, follow one of these two brief procedures:

To change the Styled HTML format for all organizations:

  1. Create a "templates\en" subfolder named "custom" if one does not already exist.
  2. Copy "templates\en\reporttemplate.htm" into the "templates\en\custom" subfolder if it does not already exist there.
  3. Make changes to the "templates\en\custom\reporttemplate.htm" as desired.

To change the Styled HTML format for a particular organization:

  1. Create a "templates\en" subfolder named "custom" if one does not already exist.
  2. Create a "templates\en\custom" subfolder named after the ID of the particular organization if one does not already exist. (For example, if the "Contractor" organization has an ID of "1234", create a subfolder named "1234".)
  3. Copy "templates\en\reporttemplate.htm" into the "templates\en\custom\[OrgID]" subfolder if it does not already exist there.
  4. Make changes to the "templates\en\custom\[OrgID]\reporttemplate.htm" as desired.

Note that changes made to this file will be applied immediately to new reports. However, changes made to this file will not affect any reports already created. If you have custom versions of reporttemplate.htm in both an organization-specific subfolder and the main "custom" subfolder, the organization-specific version will apply.

Macros Used in "reporttemplate.htm"

The following macros may be used in reporttemplate.htm.

  • (Report Date Macros) - For example, "[YYYY]-[MM]-[DD] [HH]:[TT]:[SS]" could be interpreted as "2005-10-11 12:34:56"
  • [InlineCSS] - This will be replaced by an inline copy of this organization's CSS stylesheet (set as part of an organization's Scheme).
  • [OrgName] - The name of the organization.
  • [ReportName] - The name of the report, as calculated from selections made in the report category drop-down and report type drop-down while defining the report.
  • [ReportTitle] - The name of the report definition, as typed in by the creator.
  • [Filter] - A description of the current filter (if any) used with the report.
  • [ReportContent] - This will be replaced by a <TABLE> containing the actual report content.
  • [ReportCreateMS] - The number of milliseconds it took to generate the report.
  • [OrgLogRetain] - The number of days of audit log entries available to this report.
  • [SysStatRetain] - The number of days of performance statistics available to this report.
  • [MachineName] - The name of the machine on which this report was created.
  • [ReportSQL] - The exact SQL statement(s) used to generate this report.