Storage of config.xml and widgets.xml

Backoffice configuration is managed by the config.xml and widgets.xml files.

  • config.xml: the configuration of UI of each widget instance

  • widgets.xml: the application configuration containing information about all widgets added to your application. It stores settings such as viewing restrictions and socket connections.

Storage

Content of config.xml and widgets.xml are stored in CatalogUnaware Media items: cockpit-config.xml and widgets.xml. If a file doesn't exist, it is assembled from all the modules project files at the first sign in to Backoffice. All runtime modifications in admin composer are stored in these media. Resetting to defaults re-creates the content of media as of the first sign in from project files.

Cluster Environment

Since these files are stored as Media items, the config.xml and widgets.xml are shared across all nodes. Any runtime changes take effect after other users sign in again (the user who does the changes sees them immediately). It might be crucial which node you sign in to for the first time or reset to defaults, because it assembles contents of these files from this particular node. In case you obsolete config.xml or widgets.xml on one node, you should consider to update project files or sign in from a node with the correct configuration and choose to Reset Everything.