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:
- Browser configuration file-application level
- 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:
- Structure concept diagram of the configuration file
- 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.