I receive the following error when I open one of my applications:
A problem occurred while parsing the configuration file popups/PARCELS.xml
Error #1085
Here is the code for accessing the popup file in the configuration file:
<operationallayers>
<layer label="DEQ Data" type="dynamic" visible="true" alpha="1"
url="https://gis.deq.wyoming.gov/arcgis/rest/services/PARCEL_OWNER_MAP/MapServer">
<sublayer id= "12" popupconfig="popups/PARCELS.xml"/>
</layer>
</operationallayers>
Here is the code in the popup xml:
<?xml version="1.0"?>
<configuration>
<title>{OWNERNAME1}</title>
<fields>
<field name="PIDN" alias="PID NUMBER" visible="true"/>
<field name="Jurisdicti" alias="JURISDICTION" visible="true"/>
<field name="PARCELNB" alias="PARCEL NUMBER" visible="true"/>
<field name="ACCOUNTNO" alias="ACCOUNT NUMBER" visible="true"/>
<field name="TAXAREA" alias="TAX AREA" visible="true"/>
<field name="TAXYEAR" alias="TAX YEAR" visible="true"/>
<field name="LOCATIONAD" alias="LOCATION ADDRESS" visible="true"/>
<field name="OWNERNAME2" alias="OWNER NAME" visible="true"/>
<field name="LOCALNO" alias="LOCAL NUMBER" visible="true"/>
<field name="ACTUALVAL" alias="ACTUAL VALUE" visible="true">
<field name="ASSESSEDVA" alias="ASSESSED VALUE" visible="true"/>
<field name="LEGALSEARC" alias="LEGAL SEARCH" visible="true"/>
<field name="LANDGROSSA" alias="LAND GROSS ACREAGE" visible="true"/>
<field name="LANDGROSSS" alias="LAND GROSS S" visible="true"/>
<field name="MAILADDRES" alias="MAIL ADDRESS" visible="true"/>
<field name="MAILCITY" alias="MAIL CITY" visible="true"/>
<field name="MAILSTATE" alias="MAIL STATE" visible="true"/>
<field name="MAILZIPCOD" alias="MAIL ZIP CODE" visible="true"/>
<field name="OWN_STATUS" alias="OWNERSHIP STATUS" visible="true"/>
</fields>
<showattachments>true</showattachments>
</configuration>
Here is the link to rest service:
To add to my issue, I can change the popup file to another service and it works fine. Any help will be greatly appreciated. In the rest service I noticed that this layers renderer is set to private, this is the only thing that I have seen that may cause a problem. Thank you.
Solved! Go to Solution.
Chad,
You are missing your closing slash on this line:
<field name="ACTUALVAL" alias="ACTUAL VALUE" visible="true">
Should be:
<field name="ACTUALVAL" alias="ACTUAL VALUE" visible="true"/>
Chad,
You are missing your closing slash on this line:
<field name="ACTUALVAL" alias="ACTUAL VALUE" visible="true">
Should be:
<field name="ACTUALVAL" alias="ACTUAL VALUE" visible="true"/>
Thank you Robert, I looked over this thing so many times, it is always good to get another set of eyes on it, that was all it was.