Select to view content in your preferred language

eSearch Error #2032

2359
2
Jump to solution
10-01-2013 04:39 AM
EdinZametica
Emerging Contributor
Hello,

When I add relate to eSearch get Error #2032
Can some suggestions!
Use uncompiled version eSearch_3.4.


In Firebug I get a "500 Internal Server Error"
http://gis06gd/arcgis/rest/services/Mobile/WebApp_GSM_eSearch/MapServer/3/queryRelatedRecords?outFields=&outSR=31276&returnGeometry=true&f=amf&relationshipId=0&objectIds=


<relate id="0" label="Celije" enableexport="false" icon="widgets/eSearch/assets/images/i_relate.png" >      <fields all="false" />             <field name="Celija_Naziv" alias="??elija" />             <zoomscale usegeometry="true" zoompercent="1.6" />     </relate>


Thanks in advance,
Edin
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Edin,

   Your mistake is in the XML. You are closing the fields element with the backslash and then trying to give it a child element that become orphaned.

                <relate id="0" label="Celije" enableexport="false" icon="widgets/eSearch/assets/images/i_relate.png" >                     <fields all="false" />                         <field name="Celija_Naziv" alias="??elija" />                         <zoomscale usegeometry="true" zoompercent="1.6" />                 </relate>


It should look like this:

                <relate id="0" label="Celije" enableexport="false" icon="widgets/eSearch/assets/images/i_relate.png" >                     <fields all="false">                         <field name="Celija_Naziv" alias="??elija" />                     </fields>                     <zoomscale usegeometry="true" zoompercent="1.6" />                 </relate>

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Edin,

   Your mistake is in the XML. You are closing the fields element with the backslash and then trying to give it a child element that become orphaned.

                <relate id="0" label="Celije" enableexport="false" icon="widgets/eSearch/assets/images/i_relate.png" >                     <fields all="false" />                         <field name="Celija_Naziv" alias="??elija" />                         <zoomscale usegeometry="true" zoompercent="1.6" />                 </relate>


It should look like this:

                <relate id="0" label="Celije" enableexport="false" icon="widgets/eSearch/assets/images/i_relate.png" >                     <fields all="false">                         <field name="Celija_Naziv" alias="??elija" />                     </fields>                     <zoomscale usegeometry="true" zoompercent="1.6" />                 </relate>
0 Kudos
EdinZametica
Emerging Contributor
Robert Thank you,

My mistake ...

Best Regards,
Edin Z.
0 Kudos