Select to view content in your preferred language

ArcGIS Viewer for Flex 2.5 released December 2, 2011

5860
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
AdamRepsher
Frequent Contributor
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.


Bjorn,
When I click the supplied link to download the AppBuilder - http://downloads2.esri.com/Support/downloads/ao_/AppBuilder-2.5.air I get a .zip file. Should the .zip be changed to .air?

When unzipped, the contents are in a folder -- there are 4 folders along with files "mimetype" and "AppBuilder.swf"

Is the download incorrect?


***UPDATE***

I just changed ".zip" to ".air" and the install seems to work correctly....

Thanks,
--Adam
0 Kudos
BjornSvensson
Esri Regular Contributor
...but I am still developing for 2.3.1. ...Please provide a link to at least the previous version (2.4) of the ArcGIS Viewer for Flex web pages.


We haven't removed any help pages, only added and re-organized to make space for the application builder pages. For example, we added a chapter related to the application builder, as well as separated out the tag references from the pages about the individual widgets (partly because the tags didn't make sense for people only using application builder and partly because the pages were getting long), but the tag references are still there.  For developers we added the framework reference, but all the other information should still be there. We also try to mark tags and properties with the information about which version it was added in.  This is to support people working with older versions.


Which specific information are you looking for?

For example,
main config file: http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m30000001800...
layer tag:
http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Layer_tag/01m30000000p000000/
0 Kudos
BjornSvensson
Esri Regular Contributor
When I click the supplied link to download the AppBuilder - I get a .zip file. Should the .zip be changed to .air?


Yes (as Adam already figured out).

Adam/Andrea, I am thinking it might be your browser that changes the extension, could you tell us which OS and browser (and browser version) you are using?
0 Kudos
MarkHuffman
Deactivated User
Bjorn,

Thank you for clarifying. I was looking for the configuration file help, and I see now that it is in the Tag Reference directory. I'll acquaint myself with the site's new structure.

Consider me no longer baffled.;)

Thanks again.
0 Kudos
jamesmullen
Emerging Contributor
I'm getting the following error inside of my first flex application builder app.  layer failed to load: Fault code: Channel.Security.Error

Fault info: Security error accessing url

Fault details: Destination: DefaultHTTP

Any ideas on where I can set this?
0 Kudos
BjornSvensson
Esri Regular Contributor
I'm getting the following error inside of my first flex application builder app.  layer failed to load: Fault code: Channel.Security.Error


Are you maybe trying to access an ArcGIS Server (or other resource that is on a different domain than your application), and that ArcGIS Server (or other resource) does not have a crossdomain file?

"This is most likely a cross-domain issue. This happens if you are connecting from a Flash application to resources on another domain. Either have the application hosted on the same domain as the resource (usually the ArcGIS Server) or add a crossdomain.xml to your ArcGIS Server."
http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/FAQs/01m300000004000000/
0 Kudos
SheriNorton
Frequent Contributor
I just finished setting up my first application with version 2.4 with extensive time invested in all the configurations. Does anyone know if using the new version 2.5 Application Builder allows the user to smoothly migrate all configs/settings of an existing site (at least for the ESRI widgets and main Config.xml) without starting all over again? Is there still a main Config file to simply copy and paste from the existing one?

I do not have a separate production/testing machine, so a complete overhaul each time a new version is released is impractical even if I had the time with the rest of my workload.
0 Kudos
BjornSvensson
Esri Regular Contributor
Is there still a main Config file to simply copy and paste from the existing one?


Yes, there is still a main configuration file with the same structure and syntax.  For your case, I would recommend installing the application builder and create a new application (for example "mynewapp") using application builder. Then close application builder, and manually move your customized configuration files from your 2.4 location, c:\inetpub\wwwroot\flexviewer (if you were using the default) to the new location, c:\inetpub\wwwroot\flexviewers\mynewapp (the default when using IIS).

You should then be able to open application builder and see your 2.5 application based on the updated config.xml.

Note the difference in default folders. The application builder will default to "flexviewers" folder (note the extra s) in which you will create multiple applications. This is different from when you install the compiled viewer (any version) which installs by default to "flexviewer".
0 Kudos
SheriNorton
Frequent Contributor
Thanks Bjorn - I'll give a whirl.
0 Kudos
MarkSmith1
Deactivated User
Bjorn,

Great work on the new release. I don't want this to sound ungrateful or like a complaint but I'm curious about future enhancements and what we can expect from the next Flex Viewer(s). Specifically, are there plans to add:

- The ability for end-users to add local data like shapefiles (I saw that the new ArcGIS Online portal has drag and drop functionality)
- Access to data stored in related tables/featureclasses (I've brought this one up before - having a ArcMap like Identify capability is hugely important to our organization)

Thanks again.

Mark
0 Kudos