Select to view content in your preferred language

Identify Widget not returning some fields

868
4
02-13-2014 11:54 AM
SeanGambrel
Deactivated User
Hi all,

I am using the "out of the box" identify widget with a v2.5 flex app that I am building.  It works excellently on a number of layers, but on one layer it is not returning two key fields.  Though it does return other fields from the same layer.  I have checked and double-checked the field names, aliases, etc. and can't find the problem.  I was hoping someone here could identify the problem.

The fields which aren't being returned are the "PROP_ADDRS" and "OWNER" fields.
The only connection I can possibly see is that the Search Widget also uses these fields.  But I wouldn't expect that to impact this other widget.


I've attached a screenshot of my REST endpoint.


And here is my code (I've removed the lines specific to other layers, all of which are working fine):

<?xml version="1.0" ?>
<configuration>
<betareturngeometryfix>false</betareturngeometryfix>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>false</enablelineselect>
<enableextentselect>false</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>10000</infoautoclosemilliseconds>
<autoactivatedtool>mappoint</autoactivatedtool>
<excludebasemaps>true</excludebasemaps>
<labels>
  <zoom2message>Click to Zoom</zoom2message>
  <identifylabel>Identify</identifylabel>
  <resultslabel>Results</resultslabel>
  <descriptionlabel>Select a geometry to use to identify features</descriptionlabel>
  <pointlabel>Identify by Point</pointlabel>
  <linelabel></linelabel>
  <rectlabel></rectlabel>
  <polylabel>Identify by Polygon</polylabel>
  <clearlabel>Clear</clearlabel>
  <loadinglabel>Loading...</loadinglabel>
</labels>
     <useproxy></useproxy>
     <layers onlythese="true">

     <layers>
              <layer>
<name>LotLines</name>
<fields>
<field name="gisdata.GISADMIN.PARCELDATA.PROP_ADDRS" alias="Property Address" />
<field name="gisdata.GISADMIN.PARCELDATA.OWNER" alias="Owner" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD1" alias="Owner Address1" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD2" alias="Owner Address2" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD3" alias="Owner City" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD4" alias="Owner State" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD5" alias="Owner Zip" popuponly="true" />
</fields>
<links></links>
<zoomscale>1200</zoomscale>
<forcescale>true</forcescale>
</layer>

     </layers>

     <symbols>
     <simplefillsymbol color="0x00FFFF" alpha="0.3" style="solid">
      <outline color="0x00FFDD" alpha="1.0" width="2"/>
     </simplefillsymbol>
     <simplemarkersymbol style="Triangle" size="12" color="0x00FFDD" alpha="1.0" xoffset="0" yoffset="0" angle="0">
      <outline style="solid" color="0xffffff" alpha="1.0" width="1"/>
     </simplemarkersymbol>
     <simplelinesymbol color="0x00FFDD" alpha="1.0" width="3"/>
    </symbols>
</configuration>
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Sean,

   Wow, you are still on 2.5... That is so many versions ago my knowledge of that version is pretty rusty. The best thing to do is set the onlythese to false and identify that layer and look at the field names that are being returned from the identify task and see if anything pops out at you.
0 Kudos
SeanGambrel
Deactivated User
Thanks Robert, I had tried that and had the same result.  At least it's being consistent! 

Its very odd because the other fields in the LotLines layer are being returned with the identify widget.  And the search widget is able to return the values in these fields in this layer.


FWIW, we're running such an old version of FlexViewer because we're on an older version of server and my understanding is that higher versions of the flex viewer won't play correctly with our version of server.

Thanks for the suggestion, I'll keep plugging away.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sean,

   Can you try this (I really don't expect to see any difference, but it's worth a shot):

<layers>
    <layer>
        <name>LotLines</name>
        <fields all='true"/>
        <links/>
        <zoomscale>1200</zoomscale>
        <forcescale>true</forcescale>
    </layer>
</layers>
0 Kudos
SeanGambrel
Deactivated User
Gave it a shot, no change.  Very perplexing.

Thanks for the suggestions, though!
0 Kudos