Getting started

Version 3.7

Getting started with ArcGIS Viewer for Flex

This topic shows you how to start using the ArcGIS Viewer for Flex ("Viewer") application. Prior to going through this, please ensure the System requirements are met.

Web Server specific

Starting IIS on Windows 7 and 8

  1. Click Start, then click Control Panel.
  2. In Control Panel, click Programs, then click Turn Windows features on or off.
  3. In the Windows Features dialog box, click Internet Information Services, then click OK.

For more information specific to installing on Vista and Windows 7, go to Installing IIS 7 on Windows Vista and Windows 7. Information on installing IIS8 on Windows 8 can be found here.

CautionCaution:

If using IIS, pay special attention to the section in the above link that states only the built-in administrator has full administrative rights. If you are logged on as a local administrator you will still need to explicitly set administrative writes in your web server directory.

Windows 7/8 security settings

Below are some examples on how to configure the security settings for your web server directory.

In Windows Explorer, navigate to where you configured the output for Application Builder web applications, for example, C:\inetpub\wwwroot\flexviewers. Right-click the flexviewers folder > select Properties > click on the Security tab. Make certain that you have full read/write permissions set on this directory.

CautionCaution:

You must have write-access to the web server directory that Application Builder writes to, for example the default directory called flexviewers gets created in the default IIS web server directory, e.g. C:\inetpub\wwwroot\flexviewers.

Windows 2008 R2 security settings

In Windows Explorer, navigate to where you configured the output for Application Builder web applications, for example, C:\inetpub\wwwroot\flexviewers. Right-click flexviewer > Properties > select the Security tab > click Edit. Add the account that will be used when using the application builder (your current logged in user). Allow Full control and click OK.

Windows 2003 security settings

In Windows Explorer, navigate to where you configured the output for Application Builder web applications, for example, C:\inetpub\wwwroot\flexviewers. Right-click flexviewers > Properties > select the Security tab > click Edit. Make certain that you have Full permissions set on this directory.

Viewer download options

Only one download is needed to install and use the Viewer application. The various options are listed below.

Application Builder

Application Builder—The Application Builder is targeted to users who intend to create custom web mapping applications through a WYSIWYG look and feel. It is comes packaged as an Adobe AIR file that includes a what-you-see-is-what-you-get (WYSIWYG) interface

It requires an installation of Adobe AIR 3.5. For more information, see the system requirements topic.

See the installation steps as outlined in the installation guide for Application Builder.

Uncompiled source code

Uncompiled package—This download includes the complete source code for the Viewer application. You need to compile this before using it. The uncompiled source code download is targeted to developers who intend to create custom widgets and/or extend the core Viewer application. Modifying the uncompiled source code is an option better suited for those familiar with ArcGIS Viewer for Flex development.

You can access the uncompiled source code on GitHub. More information regarding working with uncompiled source code can be found in the Developer Guide section of the Viewer help. Please refer to the Getting Started for Developers topic for additional information.

Compiled source code

Compiled package—This download does not include source code. It comes already compiled with SWF files and their associated configurable XML files. Prior to the application builder, the option most non-developers took was through the use of this compiled source download. Although the application builder is the suggested route for non-developers to get started quickly with Viewer, it does not mean that working with the compiled code and modifying configuration files is not possible. Application Builder web applications are similar in functionality and also in the sense that they contain compiled code in addition to configuration files that can be modified if needed.

Please see the References topic, Getting started with the compiled viewer, for additional information on this.

11/25/2014