Select to view content in your preferred language

Trouble setting up Popups for Output in Geoprocessing Widget

657
0
11-13-2011 10:56 AM
MelissaTalley
Emerging Contributor
I'm trying to add popups to the results of my geoprocessing service.
My xml was working fine until I started trying to add this feature, so I know this is where the problem is. I was a little unclear in the documentation if the popups should be part of the renderer.

Any help would be greatly appreciated!!!

    <outputparams>
        <param name="final_output"
               geometrytype="polygon"
               label="final_output"
               required="true"
               type="featurerecordset"
               visible="true">
 
 <popups>
 <title="Economic Growth">
  <fields>
   <field name="value"
   visible="true">
     <format precision="-5">
  </fields>
 </popups>
        <renderer type="classbreaks" attribute="value">

  <defaultsymbol 
   color="0xFCBBA1" alpha="0.9"
   type="simplefill">
   <outline width="1" color="00000000"/>
  </defaultsymbol>

  <infos>

   <symbol color="0x67000D"  alpha="1.0"
   type="simplefill"
   min="-100.0"
   max="-0.028802">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xA50F15"  alpha="1.0"
   type="simplefill"
   min="-0.028801"
   max="-0.001304">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xCB181D"  alpha="1.0"
   type="simplefill"
   min="-0.001304"
   max="-0.000911">
   <outline color="00000000" width="1"/>
          </symbol>

   <symbol color="0xEF3B2C"  alpha="1.0"
   type="simplefill"
   min="-0.000911"
   max="-0.000621">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xFB6A4A" alpha="1.0"
   type="simplefill"
   min="-0.000621"
   max="-0.000247">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xFC9272" alpha="1.0"
   type="simplefill"
   min="-0.000247"
   max="-0.000120">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xFCBBA1" alpha="1.0"
   type="simplefill"
   min="-0.000120"
   max="-0.000050">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xFEE0D2" alpha="1.0"
   type="simplefill"
   min="-0.000050"
   max="-0.000010">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xFEE0D2" alpha="1.0"
   type="simplefill"
   min="-0.000010"
   max="0.0">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xDEEBF7"  alpha="1.0"
   type="simplefill"
   min="0.0"
   max="0.000010">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xDEEBF7"  alpha="1.0"
   type="simplefill"
   min="0.000010"
   max="0.000050">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0xC6DBEF"  alpha="1.0"
   type="simplefill"
   min="0.000050"
   max="0.000120">
   <outline color="00000000" width="1"/>
          </symbol>

   <symbol color="0x9ECAE1"  alpha="1.0"
   type="simplefill"
   min="0.000120"
   max="0.000247">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0x6BAED6"  alpha="1.0"
   type="simplefill"
   min="0.000247"
   max="0.000621">
   <outline color="00000000" width="1"/>
   </symbol>
 
   <symbol color="0x4292C6"  alpha="1.0"
   type="simplefill"
   min="0.000621"
   max="0.000911">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0x2171B5"  alpha="1.0"
   type="simplefill"
   min="0.000911"
   max="0.001304">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0x08519C"  alpha="1.0"
   type="simplefill"
   min="0.001304"
   max="0.028801">
   <outline color="00000000" width="1"/>
   </symbol>

   <symbol color="0x08306B"  alpha="1.0"
   type="simplefill"
   min="0.028801"
   max="100">
   <outline color="00000000" width="1"/>
   </symbol> 
 
  </infos>

         </renderer>
        </param>
    </outputparams>
Tags (2)
0 Kudos
0 Replies