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

Pop-Ups

$
0
0
My pop-ups in Viewer for Flex 3.0 are not working for some reason. I'm sure I'm overlooking something.
Maybe someone can spot what it is? Strange thing is, I also use the Application Builder (3.1) and they work fine in there. I've been comparing the configs for the past day now and can't find the difference.


Here's the main config xml version 3.0:

HTML Code:

<layer type="dynamic" label="Marketing" imageformat="png8" url="http://myserver/ArcGIS/rest/services/departmentname/MapServer" visible="true">
<sublayer id="0" popupconfig="popups/PopUp_1.xml"/>
<sublayer id="1" popupconfig="popups/PopUp_2.xml"/>
<sublayer id="2" popupconfig="popups/PopUp_3.xml"/>
<sublayer id="3" popupconfig="popups/PopUp_4.xml"/>
<sublayer id="4" popupconfig="popups/PopUp_5.xml"/>

It's exactly the same as in the App. Builder. The xml files are in the popup folder and the rest service is valid and working.
Should I maybe be using something like this instead:

HTML Code:

<configuration>
<description>
<![CDATA[Garage Maintenance Shops: <a href='{FILEPATH}' target='_blank'>{GRIDID}</a>]]>
</description>
<showattachments>true</showattachments>
</configuration>

Thanks for your time.

Viewing all articles
Browse latest Browse all 2097

Trending Articles