Upgrading your Viewer code
This page describes an older version, please read about the latest version at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/
http://resources.arcgis.com/en/help/flex-viewer/concepts/
Generally when working with the source code:
- Download the new viewer.
- Copy your modified xml's file over to the new viewer.
- Review
What's new (in the viewer)
as well as What's new (in the API) to see if there's something new you want to take advantage of, or some change that affect your. For example:
- In version 2.3 of the API, the InfoWindow was sparkified and as a consequence any related code you had might have to be modified.
- In version 2.4 of the Viewer, Adobe Flex 4.1 SDK is the minimum SDK version to compile with.
- In version 3.0 of the API and Viewer, Adobe Flex 4.5 SDK is the minimum SDK version to compile with.
- For changes you made in the individual mxml files, it depends. If it was something that was fixed in the new version, then just use the latest version. For your own fixes or code changes that you want to keep, the best way is probably to compare that specific mxml file and then integrate your changes with ours.
To upgrade your configuration files, see Upgrading configs.
This applies to upgrading your 2.1 or later Flex Viewer applications.
2/15/2012