Select to view content in your preferred language

EditWidget + QueryWidget infoTemplates

413
2
09-29-2010 08:34 AM
EddieJesinsky
Deactivated User
Hi,

I've noticed that when I use EditWidget and have QueryWidget (or any other widget that uses info windows) open as well that the attribute inspector gets added to all of the info popups, not just for the features in the Edit Widget. Is it possible to separate the two?
Tags (2)
0 Kudos
2 Replies
SarthakDatt
Frequent Contributor
Hey Eddie,

I don't see the same behavior for the following config. Could you share your config file, so that i can take a closer look.

<configuration>
    <title>Homeland Security</title>
    <subtitle>Washington, D.C.</subtitle>
    <logo>assets/images/logo.png</logo>
    <stylecolors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</stylecolors> <!-- Black Gold -->

    <!-- UI elements -->
    <widget left="10"  top="50"    config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>
    <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>
    <widget right="20" top="55"    config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
    <widget left="0"   top="0"     config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>

    <map initialextent="-8585000 4698000 -8565000 4715000" top="40">
        <basemaps>
            <layer label="Streets" type="tiled" visible="true"  alpha="1"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
            <layer label="Aerial"  type="tiled" visible="false" alpha="1"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>
            <layer label="Topo"    type="tiled" visible="false" alpha="1"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
        </basemaps>
         <operationallayers>
             <layer label="HomeLand Security Incident Points" type="feature" visible="true"
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_IncidentPoints.xml"
                   url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/0"/>
             <layer label="Homeland Security Incident Areas" type="feature" visible="true"
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_IncidentAreas.xml"
                   url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/2"/>
        </operationallayers>
    </map>

    <widgetcontainer layout="float"> <!--horizontal(default)|float|vertical|fix-->
        <widget label="Edit" left="75" bottom="75"
            icon="assets/images/i_edit.png"
            config="widgets/Edit/EditWidget.xml"
            url="widgets/Edit/EditWidget.swf"/>
        <widget label="Louisville Police" left="590" top="280"
                icon="assets/images/i_police.png"
                config="widgets/Query/QueryWidget_Louisville_PoliceStations.xml"
                url="widgets/Query/QueryWidget.swf"/>
    </widgetcontainer>

</configuration>
0 Kudos
EddieJesinsky
Deactivated User
Hi,

I started with a clean copy and it appears to work now, I must have messed something up in mine.

Thanks
0 Kudos