Select to view content in your preferred language

ArcGIS Viewer for Flex 2.5 released December 2, 2011

5870
53
12-02-2011 08:57 AM
BjornSvensson
Esri Regular Contributor
Compiled viewer available from http://links.esri.com/flexviewer

Source code for viewer available code gallery as well as from https://github.com/ArcGIS/ArcGISViewerForFlex/tags - to use the source code, you will also need to download the API Library separately: go to http://links.esri.com/flex, click the �??Download API Library�?� in Quick Links on the right side.

See what�??s new for Viewer at http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_s_new_in_2_5_Viewer/01m3000000110... - you might have to wait 15 minutes for the server to show the "2.5" pages...
Tags (2)
0 Kudos
53 Replies
RobertScheitlin__GISP
MVP Emeritus
Sounds like you guys have missed the part where the Flex API is no longer included in the Flex Viewers source code due to the new Apache licensing. you need to download the API separately and copy it into the libs folder for your project.
0 Kudos
MartynSmith
Emerging Contributor
Sounds like you guys have missed the part where the Flex API is no longer included in the Flex Viewers source code due to the new Apache licensing. you need to download the API separately and copy it into the libs folder for your project.


Ahh.. well if that is the case then they need to update the help which doesn't mention this step:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Getting_started_for_developers/01m3000...



To install Flex Viewer 2.5 source (after following steps from above link):

7.  Download ArcGIS API for Flex 2.5 from here:
http://resources.arcgis.com/content/arcgis-flex-api-download

8.  Extract downloaded ArcGIS API for Flex 2.5 to a folder

9.  Drag the file agslib-2.5-2011-11-30.swc from \ArcGIS_Flex\libs\agslib-2.5-2011-11-30.swc into your Flash Builder projects \libs folder

10.  Project will recompile and errors go away
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Martyn,

   OK the steps are simple Download the API source from here:

http://resources.arcgis.com/content/arcgis-flex-api-download

Once you have downloaded it and extracted the contents of the Zip browse to the:

arcgis_api_for_flex_2_5\ArcGIS_Flex\libs folder and copy the agslib-2.5-2011-11-30.swc.

In Flash Builder open your Flex Viewer project you imported earlier find the libs folder listed in the Package Explorer tree and paste to the libs folder.

That's it... Your ready to go.

P.S. I sure the Flex Team will get the instructions updated ASAP (remember it just came out 12/2/11 PM) and they are just human.
0 Kudos
MartynSmith
Emerging Contributor
I understand they are human, but they can't just replace information that worked with information that doesn't work, with no way to even access the old help that did work for the last version.
0 Kudos
EricVenden
Frequent Contributor
Thanks for the tip/info Robert...works like a charm
0 Kudos
EricVenden
Frequent Contributor
Thanks for the tip/info Robert...works like a charm
0 Kudos
ANDREACARVELLI
Emerging Contributor
@Andrea,
Are you trying to access the application builder, or an application created with the application builder?

The application builder is an AIR application (not a web application, but more of a "desktop" application) and thus does not run in your web browser.  It is accessed from the Start menu (or its non-English equivalent).  You should not be copying AppBuilder.swf anywhere...


@Bjorn
In order to give you an answer on your question....No, I'm not..I just installed Adobe Air, dowloaded and unzipped the AppBuilder-2.5.zip file and tried to run AppBuilder.swf.
I'm not so familiar with AIR appications. Btw, may I have anything else installed? How should I run it? What you mean with "...It is accessed from the Start menu..."?
Fyi, I'm using Windows 7 x64 Italian

Thanks,
Andrea.
0 Kudos
ANDREACARVELLI
Emerging Contributor
Dear all from Esri Flex team,
I'm using new release with FlexBuilder 4.5.1 SDK...it runs and works fine...Just some error to fix during first compilation. It seams to be faster than previous version (2.x). 🙂

Thanks, it's very cool.
Andrea
0 Kudos
BjornSvensson
Esri Regular Contributor
I just installed Adobe Air, dowloaded and unzipped the AppBuilder-2.5.zip file and tried to run AppBuilder.swf.


There shouldn't be an AppBuilder-2.5.zip file.  The file you download should be AppBuilder-2.5.air which you then either double-click (or right-click and "Install").  This will start the installation...

Which OS and browser (and version) are you using? Maybe the browser for some reason does not recognize or keep the (air) file extension.  Could you try downloading it from a different browser? Or rename your AppBuilder-2.5.zip to AppBuilder-2.5.air.
0 Kudos
MarkHuffman
Deactivated User
I think it's great that there is a new version of the Flex Viewer and API, but I am still developing for 2.3.1. My work load has not allowed time for upgrading. It baffles me that ESRI thinks that suddenly everyone can immediately upgrade and no one needs information that they needed the day before. (Unless I am missing something - am I?) Please provide a link to at least the previous version (2.4) of the ArcGIS Viewer for Flex web pages. Thank you.
0 Kudos