Many of the views used in SystemWeaver are configurable and the definitions are saved as XML. There are two types of views that can be configured:
- Item views available via Configure the explorer
- Configurable items (also known as Config Items) in the form of reports, grids, graphs, charts, etc.
To help Architects keep track of the XML configurations for both configured item views and Config Items, SystemWeaver provides a number of different options/tools for exporting XML definitions. This article outlines the options that are available.
Summary of Export Options
This table summarizes the export options by tool.
|Tool||Item View Configurations||Config Items|
|swExplorer client||Yes, as separate, readable XML files||Yes, as binary that can be imported into SystemWeaver|
|swArchitect client||No, but you can view them||Yes, as binary that can be imported into SystemWeaver|
|SystemWeaver API||Yes, as separate, readable XML files||Yes, as binary that can be imported into SystemWeaver|
- Assignment of the SW Architect role in the database
- An installation of the SystemWeaver Architect client (swArchitect)
- An installation of the SystemWeaver Explorer client (swExplorer)
Item View Configurations
There are two ways to export item view configurations.
Using the Export Configurations Option
|This export does not include configured reports, grids, graphs, XMLs and Charts. See Config Items below.|
Using the API to Export
Config Items - Reports, Grids, Graphs, XMLs and Charts
There are a number of ways to export Config Item XML definitions depending on whether or not you would like to export the meta model for Config Items as well.
Exporting the XML Definitions Together with the Server Meta Model
At some point, a situation may arise where you want to migrate to a new database, create a database copy for testing purposes or share your meta model with a supplier or customer. This can be done using the swArchitect client and the resulting output is one XML file. The Config Item definitions are in binary format.
Select XML Export..., check the Include config-items box, and click OK. See Exporting an Entire Meta Model for more information.
Tip: If you have already done a meta model export without the Include config-items option selected, you can simply do the export again with the box checked.
|This export does not include item view configurations. See Item View Configurations above.|
Using XML Export in swExplorer
You can also export the Config Items, with or without the meta model, using the swExplorer client. To do this, you will first need to create a work area for the config items. This is explained in Viewing Config Item Definitions. Once the structure is in place, load the XML Export view. Note that this view must be set up to allow the export of your work area top item. Make your selections and click Export. The resulting output will be one XML file. The config item definitions are in binary format and can be imported into SystemWeaver.
In the below example, a WorkArea called "All Config items" contains a number of grid and graph definitions. Only referenced meta data will be included with the Config Items in the export. See XML Export: Exporting Models from SystemWeaver for more information on export settings.
Export Grid to Excel
Another option is to configure a grid view to provide you with the XML definitions. The grid content can then be exported to Excel if needed.
Using the API to Export
If needed, you can import the Config Item definition items themselves, use the XML Import view in the swExplorer client.