Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

No Popup with this Rest Service! Flex viewer 2.5 and 3.0

$
0
0
Tried this with both 2.5 and 3.0. I can never get a popup to open despite trying the following in config.xml:

Doesn't show layer or popup:
<layer label="Civil Affairs Operating System" type="feature" visible="true"url="https://geoint.usace.army.mil/GISSvr/rest/services/CAOS/WCID_Assessments/MapServer/0" popupconfig="popups/PopUp_CAOS.xml"></layer>

Shows layer but doesn't show popup:
<layer label="Civil Affairs Operating System" type="dynamic" visible="true" url="https://geoint.usace.army.mil/GISSvr/rest/services/CAOS/WCID_Assessments/MapServer" visiblelayers="0">
<sublayer id="0" popupconfig="popups/PopUp_CAOS.xml"/></layer>


I don't control the above REST service, but I did notice that when you go to
https://geoint.usace.army.mil/GISSvr/rest/services/CAOS
none of the links to individual services work because they put ":443" in the url. If you type the URLs in yourself without ":443" you can drill down to the services. I know port 443 is https, but I wonder if this behavior has anything to do with my popup problem.

The PopUp_CAOS.xml is:
<?xml version="1.0" ?>
configuration>
<title>{PLACE_NAM}</title>
<description>
<![CDATA[<b>{PLACE_NAM}</b><br/>Category: <b>${CATEGORY}</b>]]>
</description>
<fields>
<field name="PLACE_NAM" visible="true"/>
<field name="CATEGORY" visible="true"/>
</fields>


</configuration>


THanks!

Steve

Viewing all articles
Browse latest Browse all 2097

Trending Articles