Sample - Report Input

Version 2

    Versions: 10.2.1a - current

    Product Availability: Responder

     

    This project sample illustrates how to add custom queries to define reports.


    How to Implement:

    1. Open ResponderReportInput.csproj and connect any broken references.      
    2. Build the solution.
    3. On your server, open the ArchiveQueriesConfig.xml file. On a typical install, this file is found here: C:\Program Files (x86)\Miner and Miner\Responder\Server.
    4. Locate the <QueryPackage> element with the Key attribute set to "ArchiveReports": <QueryPackage Key="ArchiveReports">
    5. Add a QueryClass inside the QueryClasses element similar to the following:

      <QueryClass Key="IncidentDateRange" Caption="Custom Incidents by Origination">

         <Properties>

            <b:Property Key="ShowCanceledChildren" Value="true" />

            <b:Property Key="TimePeriod" Value="MTD" />

         </Properties>

         <Inputs>

            <Input Type="ResponderReportInput.CustomControl,ResponderReportInput" />

         </Inputs>

         <Filters>

            <Filter Type="ResponderReportInput.IncidentOriginationFilter,ResponderReportInput" />

         </Filters>

         <Request Type="Miner.Responder.Shared.Requests.FindIncidentArchiveRequest,Miner.Responder.Shared" />

      </QueryClass>

       

      This example will add a Custom Incidents by Origination query to Responder.


    Requires:

    All of the files shown below are required for the project to compile successfully.

     

    FileDescription
    ResponderReportInput.csprojC# project containing the code.
    CustomControl.Designer.csClass module.
    CustomControl.csClass module.
    CustomControl.resxResource file to support the project.
    IncidentOriginationFilter.csClass module.
    Properties/AssemblyInfo.csClass module.