Select to view content in your preferred language

ArcGIS Viewer 3.0 Prerelease for Flex released March 19, 2012

6685
28
03-19-2012 09:15 PM
BjornSvensson
Esri Alum
The new Viewer community site:
resourcesbeta.arcgis.com/en/communities/flex-viewer/

What's new in ArcGIS Viewer 3.0 Prerelease for Flex
http://resourcesbeta.arcgis.com/en/help/flex-viewer/concepts/index.html#/What_s_new_in_3_0_Prereleas...

Note that the URLs have changed slightly from the 3.0 beta.  We will remove those pages later this week.
Tags (2)
0 Kudos
28 Replies
BjornSvensson
Esri Alum
The source code is now available on GitHub:
https://github.com/ArcGIS/ArcGISViewerForFlex/tags
0 Kudos
JonFisher
Emerging Contributor
Is it only possible to install the application builder on my web server, or can I install it locally and then transfer over the application once complete (I would much prefer this workflow). During installation I created a folder to match the default (C:\inetpub\wwwroot\flexviewers) and set the web server base as http://localhost/flexviewers but I get an error saying "please check your web server base url." I've tried substituting my IP address for localhost, trying other folders, and many other variations (including the base URL of my server which is what I would really like) with no success.

Our server is pretty locked down with regard to installing new software and doesn't allow many simultaneous users, so I'd much prefer to let my users (and myself) install the app builder locally and transfer over the app to the server when it's ready to deploy. Any tips? Is this possible and I'm just doing it wrong, or can I only install the app builder on the server?

Jon
0 Kudos
TedCronin
MVP Alum
Do you have a cross domain file under wwwroot?  Really best way is to install locally and on the web server.  Web server for deployment, locally to build and test, unless of course you have a Test Server.
0 Kudos
JonFisher
Emerging Contributor
Do you have a cross domain file under wwwroot?  Really best way is to install locally and on the web server.


Indeed I do, and to be safe I put it both under wwwroot and under the flexviewers subfolder. The contents of it are as follows:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
 <allow-access-from domain="*" secure="false" />
</cross-domain-policy>


Since it is recommended to install it locally ( in addition to the web server) it sounds like this should be working. I'm really hoping I don't have to configure my laptop as a server just to be able to configure the viewer. If so, I might just skip it entirely and go back to modifying xml files manually. thanks for any tips you can provide.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jon,

    All you should have to do is ensure that your laptop has IIS installed. To do this go to add and remove programs (XP) or Programs and Feature (win7)  and "Add and remove windows components" (XP) or "Turn Windows features on or off" (win7) and make sure Internet Information Services (IIS) is installed. I personally use a laptop with Win 7 and one of my development machines.
0 Kudos
JonFisher
Emerging Contributor
Thanks Robert, that did it! I figured that since I could always use FlashBuilder without IIS I wouldn't need it here either for development purposes, but I guess I was wrong.
0 Kudos
philippschnetzer
Frequent Contributor
I'm getting a couple dozen errors when trying to load the 3.0 prerelease.  I am using Flash Builder 4.6 and I have tried using flex sdk 4.5 and 4.6 but both produce a number of errors (right now I am successfully using flash builder 4.6 and flex sdk 4.6 for a number of flexviewer 2.5 apps).  I did downloaded the Flex API 3.0 and imported the swc into the project so that's not the issue.  Any ideas?  Thanks!
0 Kudos
DasaPaddock
Esri Regular Contributor
What are the errors? Do you see them right after importing the project?
0 Kudos
MLowry
by
Frequent Contributor
Errors for me using SFV 3.0 Source and API 3.0 Beta 1

IDE:Flash Builder 4.5
SDK: 4.5.1a

1.)
Error importing the following:
import com.esri.ags.tasks.supportClasses.ProjectParameters; found in TocLayerMenu.mxml, GeoprocessingWidget.mxml, DrawWidget.mxml, and EditWidget.mxml

Checked in the API referenced .swc (agslib-3.0b1-2011-12-16.swc), there is no ProjectParameters in supportClasses.


2.)
MapManager.mxml line 624
dynLayer.gdbVersion = gdbVersion;
: Access of possibly undefined property gdbVersion through a reference with static type com.esri.ags.layers:ArcGISDynamicMapServiceLayer.
0 Kudos