Select to view content in your preferred language

Popup in Geoprocessing Widget

1831
2
08-20-2012 12:42 PM
EricStarn2
Emerging Contributor
Hello All,

I have a geoprocessing widget that I have been testing and it appears to work fine.
Now I would like it to, when it shows the results open up a popup to display some info about it.

According to the ArcGIS Viewer for Flex resource page, it says that you can do this however I can not seem to get it to work.

Here is the code I used for the Output Parameter that I want to open

<param name="Selected_Basin"
               geometrytype="polygon"
               label="Basin"
               required="true"
               type="featurerecordset"
               visible="true">
          <popups>
           <Fields>
            <Field name="Name"
              visible="true">
            </Field>
           </Fields>        
          </popups>
            <renderer type="simple">
                <defaultsymbol alpha="0.5"
                               color="0x00FF00"
                               type="simplefill">
                    <outline width="1" color="0x00FF00"/>
                </defaultsymbol>
            </renderer>
        </param>

What am I doing wrong?

Any info would be great

Thanks Eric
Tags (2)
0 Kudos
2 Replies
EricStarn2
Emerging Contributor
OK
I am still struggling with this.

Basically, I am trying to have a pop-up window display on the output for the ran geoprocess.

I thought that according to the resource page that you were to put the pop-up tags in the output parameter.

But I appear to be wrong.

The output is a simple polygon with one filed name to display named {Name}

Any help or direction would be appreciated.

Thanks

Eric
0 Kudos
EricStarn2
Emerging Contributor
OK,

I got my popup to work but I would like it to open with the result output not just when you click on it.

do use the preload option for this or something else?

Thanks
0 Kudos