While working with different customer projects, we have realized that it would be convenient to have all SuperOffice customizations in a local folder & file structure. This would make it a bit easier to get an overview, search globally for keywords, etc. It would also allow us to integrate with a code repository (e.g. github), to get change history, etc. Lots of benefits!
Consequently, we have started writing a small tool to achieve this. There are probably lots of potential for improving it, but we have found it useful in its current state and so we would like to share it with you. Perhaps some of you have some good ideas for it or would like to contribute with some improvements. Please do.
Please note: This is a open source project from Kodesentralen, not SuperOffice. It comes with no warranty whatsoever, and SuperOffice escpecially is not related to this project.
The tool has a small CRMScript that can be installed in any SuperOffice installation. It works as the REST endpoint that allows you to download and upload stuff from/to the database. The client part is a small node.js project that calls the REST endpoint and fetches the stuff and stores it in a local file structure. Currently it supports ejscripts, screens, screen choosers, extra fields/tables and extra menus. For ejscripts it supports two-way syncing based on last_modified datetimes. For the others, it currently only supports fetching.
Please make sure you know what you are doing and backup your stuff before using this tool. Don't come crying to us when your stuff is overwritten ;-)
The code can be downloaded from https://github.com/kodesentralen/expandersync