Select to view content in your preferred language

Getting no response from pop ups

2350
5
08-28-2014 08:51 AM
MeghanMcGaffin
Deactivated User

Edited for HORRIBLE spelling

Edited to put in the correct place


I'm working on a FlexViewer application (3.6)  For some reason, after about 4 days of working on it I'm not getting any response from my pop ups.

I've re-published my services, tried new applications with the same features and nothing happen

Here's the config file I made for a quick and dirty example I made just to test if it was application-specific and it's not.  I'm probably missing something obvious, an extra set of eyes would be welcome.

Thanks in advance

<?xml version="1.0" ?>

<configuration>

    <title>Flood Plain Inquiries</title>

    <logo>assets/images/logo.png</logo>

    <style>

        <colors>0x444444,0xebf4ff,0xebf4ff,0xdeebff,0x444444</colors>

        <alpha>0.78</alpha>

        <font name="Verdana"/>

        <titlefont name="Verdana"/>

        <subtitlefont name="Verdana"/>

    </style>

    <!-- replace the following url with your own geometryservice -->

    <geometryservice url="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/>

    <widget url="widgets/Navigation/NavigationWidget.swf" config="widgets/Navigation/NavigationWidget.xml" left="10" top="50"/>

    <widget url="widgets/OverviewMap/OverviewMapWidget.swf" config="widgets/OverviewMap/OverviewMapWidget.xml" right="0" bottom="0"/>

    <widget url="widgets/MapSwitcher/MapSwitcherWidget.swf" config="widgets/MapSwitcher/MapSwitcherWidget.xml" right="20" top="55"/>

    <widget url="widgets/HeaderController/HeaderControllerWidget.swf" config="widgets/HeaderController/HeaderControllerWidget.xml" left="0" top="0"/>

    <map attributionvisible="true" esrilogovisible="true" openhandcursorvisible="false" scalebarvisible="true" scalebar="default" zoomslidervisible="false" wraparound180="true" addarcgisbasemaps="true" initialextent="-8149033.957970165 5036813.399624566 -8115573.648838375 5054279.260587705" wkid="102100" top="40" portalurl="https://www.arcgis.com/">

        <basemaps>

            <layer type="tiled" label="Topographic" icon="https://www.arcgis.com/sharing/rest/content/items/6e03e8c26aad4b9c92a87c1063ddb0e3/info/thumbnail/to..." url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" visible="true"/>

        </basemaps>

        <operationallayers>

            <layer type="feature" label="Parcels" url="http://mgis:6080/arcgis/rest/services/Basemap/MapServer/4" popupconfig="popups/PopUp_2.xml" mode="onDemand" visible="true"/>

            <layer type="feature" label="Buildings" url="http://mgis:6080/arcgis/rest/services/Basemap/MapServer/2" popupconfig="popups/PopUp_3.xml" mode="onDemand" visible="true"/>

            <layer type="feature" label="Calls" url="http://mgis:6080/arcgis/rest/services/Projects/Flood_info_calls/FeatureServer/0" popupconfig="popups/PopUp_1.xml" mode="onDemand" visible="true"/>

        </operationallayers>

    </map>

    <widgetcontainer layout="float">

        <widget url="widgets/Draw/DrawWidget.swf" config="widgets/Draw/DrawWidget.xml" label="Draw" icon="assets/images/i_draw2.png"/>

        <widget url="widgets/Print/PrintWidget.swf" config="widgets/Print/PrintWidget.xml" label="Print" icon="assets/images/i_print.png"/>

        <widget url="widgets/Edit/EditWidget.swf" config="widgets/Edit/EditWidget_1.xml" label="Information Request" icon="assets/images/i_edit.png" preload="open"/>

        <widget url="widgets/Search/SearchWidget.swf" config="widgets/Search/SearchWidget_1.xml" label="Search by Address" icon="assets/images/i_search.png" preload="open"/>

        <widget url="widgets/LayerList/LayerListWidget.swf" config="widgets/LayerList/LayerListWidget_1.xml" label="Layer List" icon="assets/images/i_layers.png"/>

    </widgetcontainer>

</configuration>

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Meghan,

   Do you have the Shape and ObjectId fields visible in each of those map service layers?

0 Kudos
MeghanMcGaffin
Deactivated User

Yes I do, I made sure to check that after reading some other foum posts.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Meghan,

   So all three of your operational layers popups have quit working?

0 Kudos
MeghanMcGaffin
Deactivated User

Yes.  None of them work but I think I figured out the cause (but not the solution). I have a feature service layer and when that widget is open for editing the popups don't work.  But I need my users to see the information in the pop ups to edit the attributes of the points they are creating.  Any suggestions?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Meghan,

   That makes a lot of sense now. When you have the Edit widget or other widgets that have the drawing toolbar active then popups are disabled so that the editing or drawing toolbar can listen for the map click events to do their thing. The edit widget needs to have its own popup that allows for editing attributes and deleting features, thus the normal popup has to be disabled.

0 Kudos