Smart Grid Applications Overview > Responder Overview > Optional Configurations > Archive Explorer > User Input > Time Period |
Version: 10.1 |
This optional configuration allows you to determine how default dates are displayed on User Input windows in Archive Explorer. For example, the input window for the Incidents by Date Range query (shown below), displays by default today's date in the Max. Time of Outage field. Because it has been configured to show month-to-date, the Min. Time of Outage field defaults to the first day of the current month.
The default setting is Month-to-Date (MTD). So the Minimum Outage Time will always be the first day of the current month. You can change this setting to be Year-to-Date or any number of other settings as described below. This configuration setting is in ArchiveQueriesConfig.xml and can be applied to a number of queries and filters in Archive Explorer. These are also described below.
Copy Code
|
|
---|---|
<b:Property Key="TimePeriod" Value="MTD" /> |
Here's an example. An administrator wishes to set the default date range for the Critical Incidents report to be year-to-date. Currently it is set to month-to-date.
The Administrator closes Archive Explorer, opens ArchiveQueriesConfig.xml and locates the following XML:
Copy Code
|
|
---|---|
<QueryPackage Key="ArchiveReports"> <QueryClasses Key=""> <QueryClass Key="CriticalIncidents" Caption="Critical Incidents"> <Properties> <b:Property Key="Description" Value="A tabular report of critical incidents." /> <b:Property Key="TimePeriod" Value="MTD" /> <b:Property Key="TableName" Value="IncidentsArchive" /> <b:Property Key="ColumnName" Value="CriticalCustomer" /> <b:Property Key="ColumnValue" Value="Yes" /> <b:Property Key="XSLPath" Value="%ALLUSERSPROFILE%\Application Data\Miner and Miner\Responder\IncidentsByAttribute.xslt" /> </Properties> |
Note in the above example that the QueryPackage is ArchiveReports, which refers to the Reports tab in Archive Explorer. The QueryClass key value is CriticalIncidents, which refers to the Critical Incidents report. The default TimePeriod property is MTD. If the Administrator wish to default this date range to year-to-date, she'll change this property to YTD.
Copy Code
|
|
---|---|
<b:Property Key="TimePeriod" Value="YTD" /> |
After saving and closing ArchiveQueriesConfig.xml, the Administrator may open Archive Explorer, select the Critical Customers report and see the new date range in the User Inputs window.