Select to view content in your preferred language

Roberts Identify Widget Issue with a Particular feature

4939
32
Jump to solution
01-10-2012 02:30 AM
AlanHope
Occasional Contributor
Hi Robert
You had been assisting me with an Issue regarding the identify widget in a separate thread located here.
I wanted to start a new thread so that you could get credit for answering a question should you be able to do that for me (I have no doubts that you will be able to help)
The previous thread is located In this link
I have now narrowed this down to an Issue with the particular feature
I added our Manholes to the XML and these were identifiable using the following XML
<?xml version="1.0" ?> <configuration>  <betareturngeometryfix>false</betareturngeometryfix>  <identifylayeroption>visible</identifylayeroption>  <identifytolerance>5</identifytolerance>  <defaultzoomscale>2000</defaultzoomscale>  <keepidentifyactive>true</keepidentifyactive>  <returngeometryforzoom>false</returngeometryforzoom>  <enablelineselect>true</enablelineselect>  <enbleextentselect>true</enbleextentselect>  <enablepolyselect>true</enablepolyselect>  <enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>  <enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>  <usemaptime>false</usemaptime>  <autoactivatedtool>point</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->  <labels>   <zoom2message>Click to Zoom to Point</zoom2message>   <identifylabel>Identify</identifylabel>   <resultslabel>Results</resultslabel>   <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>   <pointlabel>Identify by Point</pointlabel>   <linelabel>Identify by Polyline</linelabel>   <rectlabel>Identify by Rectangle</rectlabel>   <polylabel>Identify by Polygon</polylabel>   <clearlabel>Clear</clearlabel>   <loadinglabel>Loading...</loadinglabel>  </labels>  <useproxy>   <proxylayer>    <!--name>Imagery</name-->   </proxylayer>  </useproxy>  <layers onlythese="true">   <layer>    <name>Manholes</name>    <fields>UGS_ID,NEIGHBORHO</fields>    <links>     <link includeinresults="false" field="" alias="">      <linkprefix></linkprefix>      <linksuffix></linksuffix>      <iconfield></iconfield>      <iconprefix></iconprefix>      <iconsuffix></iconsuffix>     </link>    </links>    <zoomscale>2000</zoomscale>    <forcescale>false</forcescale>   </layer>     <layer>    <name>Pole Master</name>    <fields>POLEID,MUNI</fields>    <links>     <link includeinresults="false" field="" alias="">      <linkprefix></linkprefix>      <linksuffix></linksuffix>      <iconfield></iconfield>      <iconprefix></iconprefix>      <iconsuffix></iconsuffix>     </link>    </links>    <zoomscale>2000</zoomscale>    <forcescale>false</forcescale>   </layer>  </layers>  <symbols>      <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid">       <outline color="0x448ccb" alpha="0.8" width="2"/>      </simplefillsymbol>      <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0">       <outline style="solid" color="0xffffff" alpha="0.8" width="1"/>      </simplemarkersymbol>      <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" />   <simplelinesymbol color="0x448ccb" alpha="0.8" width="2"/>     </symbols> </configuration>


However the Pole Master features are not returned in the identify results
Here is my REST end point
Layer: Pole Master (ID: 0)
Display Field: POLEID
Type: Feature Layer
Geometry Type: esriGeometryPoint
......
Fields:
OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
POLEID (Type: esriFieldTypeString, Alias: POLEID, Length: 16 )
MUNI (Type: esriFieldTypeString, Alias: MUNI, Length: 20 )
.......

The Pole Master Table is a bit of beast and we are in the process of restructuring it however this wont be for the next 6-12 months.
Any ideas why the Manholes show but the Poles do not?

I will post the IE Dev mode response in the next post as it took me over the limit

Thanks for any assistance you are able to provide
Al
Tags (2)
0 Kudos
32 Replies
RobertScheitlin__GISP
MVP Emeritus
Alan,

  Is your map service publicly accessible?
0 Kudos
AlanHope
Occasional Contributor
Alan,

  Is your map service publicly accessible?


No it is not.
I tweaked the XML slightly and it now shows the loading dialog instead of the false when loading the data but it remains at the loading stage

This table has approx 300,000 records and over 100 columns is it possible that this could be the source of the Issue?

What did you want to review on the map service?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   I was just hoping that I could hit the service here and debug what is going on... Going forward from here is tough... Does the table have joins? If it was me I would make a brand new mxd with just this layer and hide any unneeded fields (except "shape" and ObjectId) and publish that mxd as a map service for testing. I am really getting low on ideas for you.
0 Kudos
AlanHope
Occasional Contributor
Alan,

   I was just hoping that I could hit the service here and debug what is going on... Going forward from here is tough... Does the table have joins? If it was me I would make a brand new mxd with just this layer and hide any unneeded fields (except "shape" and ObjectId) and publish that mxd as a map service for testing. I am really getting low on ideas for you.


Robert
Thanks for the work you have already put in on this. I will give your suggestion a try to see if it resolves the Issue. I will update once I get results
Al
0 Kudos
AlanHope
Occasional Contributor
Update
I attempted to Debug this with Fiddler 2 and found that the service is returning values
In the JSON tab I get the following
[ATTACH=CONFIG]11047[/ATTACH]
So the data is coming back from the end point, dont know if this provides any insight...
I am going to hit another service connected to the same data
and also
Create a service looking at only the fields necessary.
I will also PM you
Thanks again
Al

I noticed that you have PM'ing disabled so I will extend this invite to a remote screen session if you are willing...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   So when you see in fiddler that you are getting results in the http response is this when you have the onlythese="false"? if so what happens when you set it back to true?
0 Kudos
AlanHope
Occasional Contributor
Alan,

   So when you see in fiddler that you are getting results in the http response is this when you have the onlythese="false"? if so what happens when you set it back to true?


I actually had it set to true when I saw that
Would you like me to set it to False?
No Joins or Relates on that feature class according to the mxd file used to create the msd
I am working on creating the single layer mxd as we speak
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alan,

   No that's fine leave it as true. Are you using the compiled or uncompiled version of the viewer?
0 Kudos
AlanHope
Occasional Contributor
Alan,

   No that's fine leave it as true. Are you using the compiled or uncompiled version of the viewer?


Using the Compiled version
0 Kudos
AlanHope
Occasional Contributor
I published a service which contained only the fields suggested and while fiddler 2 showed data being returned from the tables correctly nothing was displayed within the widget
I am stumped.....
Any ideas?
Al
0 Kudos