Select to view content in your preferred language

Trying to find a way to add a tiled feature to the Flex Viewer Identify Widget

807
1
Jump to solution
02-26-2014 06:20 AM
RichardGeoghegan
Deactivated User
I have a flex viewer application which contains two dynamic services (one being a point layer and the other a polygon feature).
The application also contains 7 separate tiled services which are all .tif rasters and which I cached when publishing as separate services to Arc Server.

I added the Identify tool (3.6.4) to my application.
I couldn't add my tiled services but added the two dynamic service features and chose the fields I wanted shown from these.
I set 'Only These Layers' to 'Off'.

When I preview my application I have one of the dynamic services turned on and one of the raster tiled features turned on.

The problem I have is shown in the attached image where I receive an error message that the requested operation is not supported by this service. I'm assuming that this error is in relation to the tiled feature. Even if I could find a way to manually get rid of this error message in the final application I would still prefer to have the ability to edit my field name alias and fields order for all of the rasters.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Richard,

   If the REST Service endpoint  does not list Identify as a supported operation then you will get that  error. Identifying rasters is something that takes some effort to  configure, as the REST Service endpoint does not report that any fields  are available, yet the identify operation returns fields with results. You need to manually configure your raster layers in the IdentifyWidget.xml and set your "only these" back to true once you have done so.

Here is the configuration of the layer that you show in your image (of course minus the information I don't know).
        <layer>             <useproxy>false</useproxy>             <name>your service name</name>             <id>2</id>             <url>https://yourserver/arcgis/rest/services/yourservice/MapServer</url>             <fields>                 <field name="COUNT" alias="Count"/>                 <field name="Landuse" alias="Landuse"/>                 <field name="Pixel Value" alias="Pixel Value"/>                 <field name="OID" alias="Object Id"/>             </fields>             <links/>             <zoomscale>2000</zoomscale>             <forcescale>true</forcescale>         </layer>

View solution in original post

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Richard,

   If the REST Service endpoint  does not list Identify as a supported operation then you will get that  error. Identifying rasters is something that takes some effort to  configure, as the REST Service endpoint does not report that any fields  are available, yet the identify operation returns fields with results. You need to manually configure your raster layers in the IdentifyWidget.xml and set your "only these" back to true once you have done so.

Here is the configuration of the layer that you show in your image (of course minus the information I don't know).
        <layer>             <useproxy>false</useproxy>             <name>your service name</name>             <id>2</id>             <url>https://yourserver/arcgis/rest/services/yourservice/MapServer</url>             <fields>                 <field name="COUNT" alias="Count"/>                 <field name="Landuse" alias="Landuse"/>                 <field name="Pixel Value" alias="Pixel Value"/>                 <field name="OID" alias="Object Id"/>             </fields>             <links/>             <zoomscale>2000</zoomscale>             <forcescale>true</forcescale>         </layer>
0 Kudos