Export (0) Print
Expand All

Date Report Controls

Updated: April 15, 2013

Applies To: System Center Operations Manager 2007

The controls in this section are used in multiple types of reports to select values for date and time parameters.

Relative Date Time Picker

The ID of the Relative Date Time Picker control is Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.RelativeDateTimePicker. This control enables you to select a start and end date and time for the report by collecting values for the standard date parameters detailed in the Common Parameters section of this guide.

There is typically no configuration required for this control. If it is included in the linked report, then you can select a start and end time when you run the report. If values for the start and end time are provided in the linked report, then this control should be removed.

Example

The following is an example of the XML code for a Relative Date Time Picker control. Because this control works with standard date parameters, the following example is typically used without change in different linked reports.

<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.RelativeDateTimePicker" columnSpan="2" rowSpan="2">
   <ReportParameters>
      <ReportParameter name="TimeZone" binding="TimeZone">
         <Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.TimeZone</Prompt>
   </ReportParameter>
   <ReportParameter name="TimeZoneName" binding="TimeZoneName" />
   <ReportParameter name="StartDate_BaseType" binding="StartDate_BaseType" />
   <ReportParameter name="StartDate_BaseValue" binding="StartDate_BaseValue">
         <Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.StartDateTime</Prompt>
   </ReportParameter>
         <ReportParameter name="StartDate_OffsetType" binding="StartDate_OffsetType" />
         <ReportParameter name="StartDate_OffsetValue" binding="StartDate_OffsetValue" />
         <ReportParameter name="EndDate_BaseType" binding="EndDate_BaseType" />
         <ReportParameter name="EndDate_BaseValue" binding="EndDate_BaseValue">
         <Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.EndDateTime</Prompt>
         </ReportParameter>
         <ReportParameter name="EndDate_OffsetType" binding="EndDate_OffsetType" />
         <ReportParameter name="EndDate_OffsetValue" binding="EndDate_OffsetValue" />
   </ReportParameters>
</Control>

Business Relative Date Time Picker

The ID of the Business Relative Date Time Picker control is Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BusinessRelativeDateTimePicker. This control is similar to the Relative Date Time Picker control, but adds the Business Relative Date Time Parameters detailed in the Common Parameters section.

Example

The following is an example of the XML code for a Business Relative Date Time Picker control. Because this control works with standard date parameters, the following example is used without change in different linked reports.

<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BusinessRelativeDateTimePicker" columnSpan="2" rowSpan="2">
   <ReportParameters>
      <ReportParameter name="TimeZone" binding="TimeZone">
         <Prompt> Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.TimeZone</Prompt>
   </ReportParameter>
   <ReportParameter name="TimeZoneName" binding="TimeZoneName" />
   <ReportParameter name="StartDate_BaseType" binding="StartDate_BaseType" />
   <ReportParameter name="StartDate_BaseValue" binding="StartDate_BaseValue">
         <Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.StartDateTime</Prompt>
   </ReportParameter>
         <ReportParameter name="StartDate_OffsetType" binding="StartDate_OffsetType" />
         <ReportParameter name="StartDate_OffsetValue" binding="StartDate_OffsetValue" />
         <ReportParameter name="EndDate_BaseType" binding="EndDate_BaseType" />
         <ReportParameter name="EndDate_BaseValue" binding="EndDate_BaseValue">
         <Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.EndDateTime</Prompt>
         </ReportParameter>
         <ReportParameter name="EndDate_OffsetType" binding="EndDate_OffsetType" />
         <ReportParameter name="EndDate_OffsetValue" binding="EndDate_OffsetValue" />
         <ReportParameter name="TimeType" binding="TimeType" />
         <ReportParameter name="TimeWeekMap" binding="TimeWeekMap" />
   </ReportParameters>
</Control>

See Also

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft