Hi,
I am facing problems using Identify Widget in raster layer published in Arcgis 10.1.
When I use the widget in the raster layer all the fields appear, even though in the widget config I set only one field. Besides, the layer name doesn't appear.
It's strange because in the REST, the fields don't appear.
config.xml
IdentifyWidget.xml
REST
Any help would be appreciated.
fmaraschin
I am facing problems using Identify Widget in raster layer published in Arcgis 10.1.
When I use the widget in the raster layer all the fields appear, even though in the widget config I set only one field. Besides, the layer name doesn't appear.
It's strange because in the REST, the fields don't appear.
config.xml
Code:
<layer
label="Mapa Hipso"
type="dynamic"
visible="false"
alpha="1"
url="http://abcdefgh/arcgis/rest/services/MAPA_HIPSO/MapServer" >
</layer>
Code:
<layer>
<name>Mapa Hipso</name>
<fields>
<field name="ALTITUDE" />
</fields>
<links>
<link includeinresults="false" field="" alias="" tooltip="">
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
Code:
{
"currentVersion": 10.11,
"id": 0,
"name": "Mapa Hipso",
"type": "Raster Layer",
"description": "",
"definitionExpression": "",
"geometryType": null,
"copyrightText": "",
"parentLayer": null,
"subLayers": [],
"minScale": 0,
"maxScale": 0,
"defaultVisibility": true,
"extent": {
"xmin": 216895.100253414,
"ymin": 6750646.30063446,
"xmax": 764635.100253414,
"ymax": 7129186.30063446,
"spatialReference": {
"wkid": 29182,
"latestWkid": 29192
}
},
"hasAttachments": false,
"htmlPopupType": "esriServerHTMLPopupTypeNone",
"displayField": "",
"typeIdField": null,
"fields": null,
"relationships": [],
"canModifyLayer": false,
"canScaleSymbols": false,
"hasLabels": false,
"capabilities": "Map,Query",
"supportsStatistics": false,
"supportsAdvancedQueries": false,
"supportedQueryFormats": "JSON, AMF",
"ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}
}
fmaraschin