widget InfoPopupWidget

327
3
01-18-2011 06:13 AM
Olivier_MOUGEL
New Contributor II
Hi,
I'm trying to use the widget InfoPopupWidget in a "dynamic" style layer (a polygon layer on arcSDE).
It doesn't work and I wonder why.
The given example works with a "feature" style layer but i'm using a 9.3.1 ArcGiServer ...
Same question whith a SimpleInfoWinWidget ...
Do I need to make somthing special to use this widget with a dynamic layer on AGS9.3.1 ?
Any ideas

Thanks
Olivier MOUGEL
Tags (2)
0 Kudos
3 Replies
DasaPaddock
Esri Regular Contributor
You can use a layer of type "feature" with a 9.3 server if you set the url to the layer in your Map service.
0 Kudos
Olivier_MOUGEL
New Contributor II
Hi,
Thanks for this advice.
I change the config file to this :

        <operationallayers>
            <layer label="Communes" type="feature" visible="true" alpha="1"
            info="widgets/InfoTemplates/InfoPopupWidget.swf"
                   infoconfig="widgets/InfoTemplates/communes33.xml"
                  url="http://srvmv-serge:8399/arcgis/rest/services/test_drive/MapServer/0"/>
        </operationallayers>

     
in order to work with a single layer but this layer doesn't appear now !!
Are you sure that I can use feature layer with the 9.3.1
Thank's

Olivier
0 Kudos
DasaPaddock
Esri Regular Contributor
Yes, it should work, but one problem would be that it wouldn't get the symbology from the server so it would only show default gray symbols. You may want to try using the QueryWidget instead.
0 Kudos