Toxik is shipped with a default set of XML resources files, one for each of the above mentioned data types; metadata.composition.xml, metadata.project.xml, etc. These XML files can be found in the resTables subfolder of the resources folder of the Toxik application folder (udas.xml file contains the UDAs declaration; the metadata.*.xml file contains the UI metadata tab UI).When Toxik is launched, the udas.xml file is parsed and any UDA that does not already exist will be created.
These resource files are only used to create the layout to display and edit the UDAs within the application. If you wish to modify these files and share them with other workstations running Toxik, there is a site preference called Shared Settings that indicates the path to these XML files. This path, or more specifically, directory, can be located on the network so that each workstation uses the same resource file for displaying and creating UDAs. If the files exist in this directory, they will be used, otherwise the resources files in the default location will be used.
Shown below are examples of how to create a text field, value editor, menu, and toggle button. Note the <Uda> name. To make the UDA unique, it should be prefixed with the data type.