Identify Widget not recognizing layer

3999
18
Jump to solution
09-09-2015 12:12 PM
LeoLadefian4
Occasional Contributor

Hi all, I'm having trouble with Roberts Identify Widget.  The issue I'm having is with a specific layer, Parcels.  It won't return any results when I select it from the drop down, however it does identify when I select all layers.  However none of the fields or popup attributes i set for it remain.  It just displays everything.  I have attached the json from my "C:\WAB\server\apps\3\widgets\Identify" folder.  I also noticed the json doesn't save the configuration I setup for it. Perhaps this is the wrong json file.

http://services5.arcgis.com/xfq44TYLhoTF2Raq/ArcGIS/rest/services/Parcels/FeatureServer/0

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Leo,

   The reason I ask is because when the URL of a service in the map does not match the url configured for the identify widget then they are not considered the same layer and you will encounter thwe issues you are having. When I add your service url to the local layer widget on my end I do not have a problem identifying it.

View solution in original post

0 Kudos
18 Replies
RobertScheitlin__GISP
MVP Emeritus

Leo,

   The proper json would be in the \server\apps\3\configs\Identify\config_Identify.json Can you zip that one and post again?

LeoLadefian4
Occasional Contributor

see attached

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Leo,

   Are you using the Local Layer widget to add this layer to the map or is this layer part of the webmap that you are using in WAB?

0 Kudos
LeoLadefian4
Occasional Contributor

It started as an ArcGIS Online webmap and I imported it into WAB developer.  I did try to use the local layer widget at one point but was having issues.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Leo,

   The reason I ask is because when the URL of a service in the map does not match the url configured for the identify widget then they are not considered the same layer and you will encounter thwe issues you are having. When I add your service url to the local layer widget on my end I do not have a problem identifying it.

0 Kudos
LeoLadefian4
Occasional Contributor

Thank You so much, I was referencing a http version of the layer, it needed the https.  Does that sound right?  After changing it it worked. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Leo,

   Yep that would do it.

0 Kudos
LeoLadefian4
Occasional Contributor

Hi Robert, I seem to be having the same issue with the Identify widget again.  This time I'm referencing a service on an ArcGIS Server box.  I have several layers grouped in a service this time, and they are in an ArcGIS Server folder.  Not the root directory.  I made sure to copy the rest point directly from Server manager and added the ID (0).  Any ideas?

http://dit-gis-09n/coaplan/rest/services/ZoningLayers/Zoning/MapServer/0

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Leo,

   The same would apply if the app is using https: then your url for that layer needs to be https

0 Kudos