Configuring Responder/Smart Grid
Modify Default Field Values

Version: 10.1

Resource Center Home

This optional configuration allows you to determine the default values in several fields on the Responder web browser. These fields appear on the Customer Call and Location Call screens. You may modify the following default settings: Trouble, Hazard 1, Hazard 2, and Cause.

  1. Browse to C:\Inetput\wwwroot\Responder and open Web.config for editing.
  2. Look for the following XML.
  <add key="customerInput.defaultTroubleType"
    value="0"/>
  <add key="customerInput.defaultHazardType1"
    value="-1"/>
  <add key="customerInput.defaultHazardType2"
    value="-1"/>
  <add key="customerInput.defaultCause"
    value="0"/>
  1. You will need to provide a value from the corresponding domain to set the default for that field. To find these domain values, you'll need to look in DatabaseSchemaConfig.xml on the Responder Server (e.g., C:\Program Files (x86)\Miner and Miner\Responder\Server). The bullets below show which domain corresponds to each field.
    • Trouble field: CALL_TROUBLE
    • Hazard 1 field: HAZARD_TYPE
    • Hazard 2 field: HAZARD_TYPE
    • Cause field: CAUSE

Below is sample XML for the CALL_TROUBLE domain, visible in DatabaseSchemaConfig.xml. The Web.config XML will require the numerical value in the Value attribute from the domain. For example, to set "Partial Power" as the default value in the Trouble field, you'll set the defaultTroubleType in Web.config to 1 (see below).

 <Domain Name="CALL_TROUBLE" xsi:type="CodedDomainConfig" DataType="Int32">
  <!-- DO NOT CHANGE THE FOLLOWING VALUE -->
  <DomainPair Value="0" Description="No Power" />
  <DomainPair Value="1" Description="Partial Power" />
  <DomainPair Value="2" Description="Flickering Lights" />
  <DomainPair Value="3" Description="High Voltage" />
  <DomainPair Value="4" Description="Low Voltage" />
  <!-- DO NOT CHANGE THE FOLLOWING VALUE -->
  <DomainPair Value="6" Description="Other" />
  <!-- this is placed before the value for 'none'
      so that '<None>' shows up last in the but the numeric values of the original 5
      items should not change  -->
  <!-- DO NOT CHANGE THE FOLLOWING VALUE -->
  <DomainPair Value="5" Description="&lt;None&gt;" />
  <!-- Domain Values 6-99 are RESERVED FOR TELVENT USAGE!! -->
 </Domain>
  1. Once you've made note of the values that correspond to the desired defaults, return to Web.config and modify the values for each default you'd like to set.
    • Trouble field: defaultTroubleType
    • Hazard 1 field: defaultHazardType1
    • Hazard 2 field: defaultHazardType2
    • Cause field: defaultCause

The following example shows the default value in the Trouble field changed to "Partial Power."

  <add key="customerInput.defaultTroubleType"
    value="1"/>
  1.  Save and close Web.config.

  


Send Comment to documentation@schneider-electric.com