Select to view content in your preferred language

Can Flex Viewer 1.x access ArcGIS Server 10.1?

665
3
Jump to solution
12-05-2012 11:39 AM
KevinKimm
Deactivated User
Hi, my organization's Flex Viewer is still based on Flex Viewer 1.x with Flex SDK 3.4. It has been working fine with ArcGIS Server 9.3 and 10.
We are still trying to migrate the Viewer to the latest Flex Viewer 3 version, but have not completed yet for some reasons, and I am wondering if the current Viewer on 1.x can run on map services published by ArcGIS Server 10.1. Does anyone know about this?

Thanks,
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor
...I am wondering if the current Viewer on 1.x can run on map services published by ArcGIS Server 10.1.


The 1.x does not work with Tiled 10.1 services, but it will work fine with ArcGISDynamicMapServiceLayer and ArcGISImageServiceLayer running on 10.1 servers.

View solution in original post

0 Kudos
3 Replies
BjornSvensson
Esri Regular Contributor
...I am wondering if the current Viewer on 1.x can run on map services published by ArcGIS Server 10.1.


The 1.x does not work with Tiled 10.1 services, but it will work fine with ArcGISDynamicMapServiceLayer and ArcGISImageServiceLayer running on 10.1 servers.
0 Kudos
KevinKimm
Deactivated User
Thanks for the reply. I am just curious why 1.x cannot read 10.1 tiled map service. Can you tell me that?

Thanks,
0 Kudos
BjornSvensson
Esri Regular Contributor
Clarification: Version 1.0-1.2 does not work with TILED ArcGIS 10.1 Services.  Version 1.3 and onwards are fine to use.

It fails in older versions because ArcGIS 10.1 is not backwards-compatible with tiled mapping requests that send in the .png extension as part of the URL.  We used to do this before version 1.3 API.

Accepted by 10.0, but not 10.1
http://myserver/arcgis/rest/services/MyService/MapServer/tile/2/1/1.png

As of 1.3, we just ask for tiles as
http://myserver/arcgis/rest/services/MyService/MapServer/tile/2/1/1

The workaround for 1.0-1.2 is to either upgrade to 1.3 or later, or a developer could extend the layer, override the getTileURL() method, call "super" and then strip off the extension.
0 Kudos