Simple Info Widget

1873
10
10-06-2010 07:51 AM
toddsams
New Contributor III
I am trying to implement the Simple Info Widget starting from the code specified in the config-map.xml file included with Viewer for Flex 2.1 (below)

        <operationallayers>
            <layer label="Fires" type="feature" visible="true" alpha="1" icon=""
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_Fires.xml"
                   url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0"/>
        </operationallayers>


I appears that the Simple Info Widget needs to be associated with a feature service. So I tried to enable "feature access" capability on one of my existing map services and I received an error to the log file indicating that "Feature Access capability requires the data to be on SDE GeoDatabase."

Is there no way to use Info Popups without requiring the data to be housed in an SDE GeoDatabase?
Tags (2)
0 Kudos
10 Replies
AndrewHargreaves
Occasional Contributor II
Hello,
I am looking for some help implementing the SimpleInfoWindow. Presently I get nothing. Here is what i have in my main config file:
<operationallayers>
            <layer label="Meters" type="Dynamic" visible="true"
            info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
            infoconfig="widgets/InfoTemplates/IWT_AMR.xml"
            url="http://ags2.cdm.com/arcgis/rest/services/Meters/MapServer"/>
        </operationallayers>

And this is what i have in the IWT_AMR.xml file:
<?xml version="1.0" ?>
<configuration>
    <fields>LocID, Meter_No</fields>
    <titlefield>Meter_No</titlefield>
    <linkfield></linkfield>
    <datefields>5000</datefields> <!-- field in milliseconds -->
    <zoomscale>5000</zoomscale>
</configuration>
0 Kudos