Editing a customization file in the Tree View
Applets, default configurations, and layer definitions are written in ArcPad XML format. When you work with these files in ArcPad Studio, the ArcPad XML structure is displayed as a tree diagram by default. ArcPad XML elements and attributes are displayed as branches in the tree. You can modify the customization files very quickly by working directly in the Tree View.
Adding an element
- Create or open an applet, default configuration, or layer definition file.
- In the Tree View, right-click the element under which you want to add the new element. For example, to add a new element under the root, right-click <ArcPad>.
- Click Add Element.
- Type a name for the element in the Element Name text box, then click OK.
Adding an attribute to an element
Consult the ArcPad XML Reference section of this help system to learn what attributes are supported for a given element. You can also right-click an element in the Tree View and click Help for this element to go directly to the ArcPad XML Reference section for that element.
- Create or open an applet, default configuration, or layer definition file.
- In the Tree View, right-click the element to which you want to add the attribute. For example, to add an attribute to the <LAYER> element, right-click <LAYER>.
- Click Add Attribute.
- Type a name and value for the attribute in the Attribute dialog box, then click OK.
Changing the value of an attribute
Deleting an element
Deleting children elements of an element
Deleting a single attribute of an element
Deleting all the attributes of an element
Cut, or copy, and paste the attributes of an element
Cut, or copy, and paste an element
Dragging and dropping an attribute or element
You can drag and drop elements and attributes within any customization file, but not between different customization files. To move elements and attributes between customization files, use Cut/Copy and Paste.
- Create or open an applet, default configuration, or layer definition file.
- In the Tree View, click the element or attribute you want to drag and drop.
- While pressing the mouse button, drag the element or attribute to its desired location in the tree.
- Release the mouse button to drop the element or attribute.