ArcGIS viewer for Flex (edit configuration file)

Source: Internet
Author: User

Overview of editing configuration files:

For the browser of the Flex application ArcGIS, You can edit the configuration and customize the xml configuration file. These XML files (. XML extension) has a simple structure of XML tags and attributes. They can use Notepad for editing, textpad, or any XML editor program.

There are two configuration file types:

 

  1. Browser configuration file-application level
  2. Widget configuration file-Part level

 

 

Note:

When editing the xml configuration file, the XML tag is case sensitive and must be in lower case. All configuration files will have one

 

The browser configuration file is located in the main flexviewer folder directory. They control the appearance, functions, and content in browsers and data. The viewer application has a main configuration file named config. XML, which is the default main configuration file of the application. (See the help topic of the main configuration file ). Other Sample viewer configuration files contain browsers to display different configuration examples.

Each component in the viewer application also has its own configuration file to control the attributes of various settings and widgets. In the browser installation directory of ArcGIS flex, each component in the folder has its own sub-folder (marked with the widget name) containing its own configuration file. For example, bookmarkwidget. XML is the configuration file of the bookmarkwidget.

For a quick introduction to editing the config. xml file, see 2nd start using the flex ArcGIS browser.

Help document:

For each configuration file, the Help file consists of two parts:

 

  1. Structure concept diagram of the configuration file
  2. Describe each xml tag and Its Attributes

 

The structure concept diagram of the configuration file provides the general structure of a specific configuration file for the overall user. It shows different general relationships of XML tags that can be found in the configuration file.

In, the following relationship was established:

 

  • Configurationfilex has eight unique XML tags
  • No sub-tags for XML tags 1 and 8
  • XML tag 2 has two sub-tags: XML tag 3 and 4
  • XML tag 5 has a sub-Tag: XML tag 6
  • XML tag 6 has a sub-Tag: XML tag 7
  • XML tag 7 is not a direct sub-tag, XML tag 5

 

Following the concept diagram, the XML tag description in each configuration file and its attribute information are displayed.

 

  • Bold in parentheses.
  • The font of the attribute in italic, after the valid value information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.