Is it possible to have multiple popups for one dynamic service? I've got a service called Water that has Manholes, Valves, etc as sublayers. I'd like to use a dynamic service due to how clean it is in a legend, but I haven't figured out how to do a popup for each sublayer of the dynamic service. I've attached the short block of code:
<layer label="WATER TEST" type ="dynamic" visible="false"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer">
<sublayer ID="0" popupconfig="popups/PopUp_WManholes.xml"/>
<!--I'm assuming something goes here calling the next sublayer and giving the path to the popup-->
</layer>
<layer label="Water Manholes" type ="feature" visible="false" popupconfig="popups/PopUp_WManholes.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/0"/>
<layer label="Water Valves" type ="feature" visible="false" popupconfig="popups/PopUp_WValves.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/1"/>
<layer label="Water PRV" type ="feature" visible="false" popupconfig="popups/PopUp_WPRV.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/2"/>
<layer label="Water Hydrants" type ="feature" visible="false" popupconfig="popups/PopUp_WHydrants.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/3"/>
<layer label="Water Mains" type ="feature" visible="false" popupconfig="popups/PopUp_WMains.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/4"/>
<layer label="Water Easements" type ="feature" visible="false" popupconfig="popups/PopUp_WEasements.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/5"/>
<layer label="WATER TEST" type ="dynamic" visible="false"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer">
<sublayer ID="0" popupconfig="popups/PopUp_WManholes.xml"/>
<!--I'm assuming something goes here calling the next sublayer and giving the path to the popup-->
</layer>
<layer label="Water Manholes" type ="feature" visible="false" popupconfig="popups/PopUp_WManholes.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/0"/>
<layer label="Water Valves" type ="feature" visible="false" popupconfig="popups/PopUp_WValves.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/1"/>
<layer label="Water PRV" type ="feature" visible="false" popupconfig="popups/PopUp_WPRV.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/2"/>
<layer label="Water Hydrants" type ="feature" visible="false" popupconfig="popups/PopUp_WHydrants.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/3"/>
<layer label="Water Mains" type ="feature" visible="false" popupconfig="popups/PopUp_WMains.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/4"/>
<layer label="Water Easements" type ="feature" visible="false" popupconfig="popups/PopUp_WEasements.xml"
url="http://ap-gisweb:6080/arcgis/rest/services/Water/MapServer/5"/>