I'm having a difficult time displaying information on layers that I have in my flex viewer application. I have set up the configuration file to show the certain fields in the pop-up, but there are no corresponding information in those fields, even though I know that there are attributes to them.
Here it is:
Attachment 22295
Here's the XML for that particular pop-up named PopUp_Parcels.xml:
<?xml version="1.0" ?>
<configuration>
<title>GPIN: {GPIN} </title>
<fields>
<field name="NAME" visible="true" />
<field name="ST_NO" alias= "STREET NO." visible="true" />
<field name="ST_ALPHA" alias= "STREET ALPHA" visible="true" />
<field name="ST_NAME" alias= "STREET NAME" visible="true" />
<field name="ST_TYPE" alias= "STREET TYPE" visible="true" />
<field name="CITY" visible="true" />
<field name="ZIP" visible="true" />
</fields>
<showattachments>false</showattachments>
</configuration>
<!--
Pop-up configuration file for:
http://sampleserver3.arcgisonline.co...eatureServer/0
See pop-up documentation at
http://links.esri.com/flexviewer/popups
<field name="STATUS" visible="True"/>
-->
And here's the section of the config file where I've added this xml:
<layer label="My Layers" type="dynamic" visible="true" mode="snapshot"
useproxy="false"
url="http://..../MapServer">
<sublayer id="3" popupconfig="popups/PopUp_Parcels.xml"
/>
</layer>
Am I missing any steps to get this working fine?
Thanks!
Here it is:
Attachment 22295
Here's the XML for that particular pop-up named PopUp_Parcels.xml:
<?xml version="1.0" ?>
<configuration>
<title>GPIN: {GPIN} </title>
<fields>
<field name="NAME" visible="true" />
<field name="ST_NO" alias= "STREET NO." visible="true" />
<field name="ST_ALPHA" alias= "STREET ALPHA" visible="true" />
<field name="ST_NAME" alias= "STREET NAME" visible="true" />
<field name="ST_TYPE" alias= "STREET TYPE" visible="true" />
<field name="CITY" visible="true" />
<field name="ZIP" visible="true" />
</fields>
<showattachments>false</showattachments>
</configuration>
<!--
Pop-up configuration file for:
http://sampleserver3.arcgisonline.co...eatureServer/0
See pop-up documentation at
http://links.esri.com/flexviewer/popups
<field name="STATUS" visible="True"/>
-->
And here's the section of the config file where I've added this xml:
<layer label="My Layers" type="dynamic" visible="true" mode="snapshot"
useproxy="false"
url="http://..../MapServer">
<sublayer id="3" popupconfig="popups/PopUp_Parcels.xml"
/>
</layer>
Am I missing any steps to get this working fine?
Thanks!