2.16. Exporting and importing configuration files
The functionality of exporting and importing configuration files allows you to selectively import or export configuration object properties (modules, templates, and help). To export properties, click Configuration ‑ Export configuration files.
Fig. 33. Exporting configuration files
In the opened window, select configuration objects to export, specify a type of data to export and a directory to export to. To start unloading, click Run. Data to export is written to files with names matching the name of the property to export. The file extension matches the data type:
- htm is used for HTML document help and templates.
- txt is used for text document modules and templates.
- mxl is used for spreadsheet document templates.
- geo is used for geographical schema templates.
- grs is used for graphical schema templates.
- bin is used for binary data templates.
Pictures are exported in the format in which they are stored in the configuration. Pictures of all supported formats are imported.
To export/import access rights, select the required roles (or all roles) and specify the Rights item in the Process list. Access rights are exported in XML format. The export file includes access rights, data access restrictions, and access restriction templates.
When you export the help and template files of HTML documents, a separate file is generated for each language for which a template is defined. The language code is included in the file name before its extension. For example, Document. GoodsConsumption.Help.ru.htm represents a file with the help information in Russian of the GoodsConsumption document.
To import data, click Configuration ‑ Import configuration files. The actions in the window are similar to the actions described for the data export mode.
When importing, the application makes an attempt to import the help files and HTML document templates for each language defined in the application. If only one file is found upon importing (without specifying a language code in the name), it is imported for the current configuration language.