<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"/> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/>
<?xml version="1.0" ?> <configuration> <title>Project Info</title> <fields> <field name="PROJID"/> <field name="MANAGR"/> </field> </fields> </configuration>
<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/> </layer>
Larry,
You are making the same mistake as most do. The sublayer element has to be a child of the layer element.<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"> <sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/> </layer>
<layer label="Projects" type="dynamic" visible="true" url="http://gis.myserver.com/ArcGIS/rest/services/MappedProjects2/MapServer"/>
<sublayer id = "0" popupconfig="popups/PopUp_Points.xml"/>
Each point has approximately 10 attributes which need to be hyperlinked in the popup. Can anyone give me tips on how to best format the popup?
<?xml version="1.0" ?> <configuration> <title>Information</title> <description> <![CDATA[<b>Project ID:</b> {PROJID} <br><br><b>Folder: </b><a href='{FolderUNC}'><u>Folder</u></a>]]> </description> </configuration>