Skip to content

VBAToolKit feature : Export a project's configuration manager as XML

lucas-v edited this page Oct 7, 2013 · 3 revisions

VBAToolKit can export a project's configuration manager in a XML file.

The final aim is to totally get rid of the Excel file and of the vtkConfigurations sheet.

What happens

Upon saving, VBAToolKit will export the project's configuration manager in a XML file. This file will be located in the same folder than the workbook being saved.

What is in this file

This file contains an XML DOM. It is currently organized as follows (tokens in code correspond to DOM nodes) :

  • vtkConfigurations, the root node

    • info

      • quantity : 1

      • projectName

        • quantity : 1

        • Text : name of the project

      • vtkConfigurationsVersion

        • quantity : 1

        • Text : version of the vtkConfigurations sheet (default : 1.0)

    • configuration

      • quantity : one per configuration

      • name

        • quantity : 1

        • Text : name of the configuration

      • path

        • quantity : 1

        • Text : path of the configuration

    • module

      • quantity : one per module

      • name

        • quantity : 1

        • Text : name of the module

      • path

        • quantity : one per configuration

        • attributes :

          • confName : name of the configuration the path corresponds to.
        • Text : path of the module in the configuration.

Notes

  • This feature is enabled by default in newly created VBAToolKit projects.

  • The organization of the file is bound to change in the near future.