Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Identify Widget X Arcgis 10.1 Raster Layer

$
0
0
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

Code:

<layer
        label="Mapa Hipso"
        type="dynamic"
        visible="false"
        alpha="1"
        url="http://abcdefgh/arcgis/rest/services/MAPA_HIPSO/MapServer" >                               
</layer>

IdentifyWidget.xml

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>

REST

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}
}

Any help would be appreciated.

fmaraschin

Viewing all articles
Browse latest Browse all 2097

Trending Articles