Sample - Responder Explorer Customizations

Version 11

    Versions: 10.1 - current

    Product Availability: Responder

     

    This project sample illustrates how to create a button and context menu commands to display in Responder Explorer.


    How to Implement:

    1. Open ExplorerCustomizations.csproj and connect any broken references.
    2. Modify any classes you wish to implement.
    3. Build the solution.
    4. Copy the ExplorerCustomizations.dll to the client machine, typically at this location: C:\Program Files (x86)\Miner and Miner\Responder\Client.
    5. Add the layout files (ContextMenu.custom.layout, RXButtonCommand.custom.layout, and ReprocessIncidentCommand.custom.layout) to the client machine at this path: C:\Program Files (x86)\Miner and Miner\Responder\Client\addons.
    6. On your server, open the ControlSytlesConfig.xml file found here: C:\Program Files (x86)\Miner and Miner\Responder\Server.
    7. For the Context Menu command, locate the following section:

    <ControlStyle Key="CrewTree" ResourceAssembly="Miner.Responder.Windows">

       <!--tree displaying crews-->

       <Commands Key="CrewTree_Commands">

     

    -Code excluded from example-

    </Commands>

    1. Edit and insert the XML from the ContextMenuSnippets.Readme file below the <Commands Key="CrewTree_Commands"> section.
    2. For the Reprocess Incident command, locate the following section:

    <ControlStyle Key="IncidentGrid" ResourceAssembly="Miner.Responder.Explorer">

    1. Create a new section below this and insert the following:

    <ControlStyle Key="IncidentGrid" ResourceAssembly="ExplorerCustomizations">

    <Commands Key="IncidentGrid_Commands">

      <Command Key="ReprocessIncidentCommand"/>

    </Commands>

    </ControlStyle>

    1. Also, locate the <ControlStyle Key="IncidentGridAllRegions" ResourceAssembly="Miner.Responder.Explorer"> and the <ControlStyle Key="IncidentGrid" ResourceAssembly="Miner.Responder.Explorer"> sections.
    2. Within these sections, insert the following at the bottom of the list of Command Keys: 

    <Command Key="ReprocessIncidentCommand" />

    1. Save the config file and restart services and Responder to see changes.


    Requires:

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

     

    FileDescription
    ExplorerCustomizations.csprojC# project containing the code to create a custom command
    ContextMenuCommand.csClass module that contains the ability to create a custom command for the Context menu
    ContextMenu.custom.layoutAdds command to Responder Explorer Context menu
    CustomFilterExample.csClass module to create a custom filter.
    CustomFilterExample.layoutAdds filter caption and description.
    ExplorerHardRefresh.csImplement this customization only if you have PubSub disabled. When implemented, this sample does a hard refresh (retrieves the latest data from Data Services) periodically. Note that when the hard refresh occurs, the user will notice that any expanded incidents in Responder Explorer will be collapsed. Available at versions 10.2.1a - current.
    ExplorerHardRefresh.custom.layoutAdds command to Responder Explorer. Available at versions 10.2.1a - current.
    SearchCommand.csClass module that contains the ability to add reactive search functionality to Responder. Searches on Feeder, Address, Dispatch remarks, Field Remarks, Region, and Current Dispatcher
    SearchCommand.custom.layoutAdds search bar to Responder Explorer
    ContextMenuSnippets.ReadmeInstructions to add command to the Context menu
    RXButtonCommand.csClass module that contains the ability to create a custom command button. You can add this button appear to the top of the Responder Explorer window using the Customize menu.
    RXButtonCommand.custom.layoutAdds command button to Responder Explorer
    AssemblyInfo.csClass module to support the project
    arrow_refresh.pngImage
    MyButtonIcon.bmpButton icon
    Resource.Designer.csClass module to support the project
    Resource.resxResource file