Tool for syncing SuperOffice Customizations between local drive and installation
Typical usage:
- Save the contents of ExpanderSync.crmscript in your installation with includeId "ExpanderSync" and choose a secret key (e.g. "TimeIsAnIllusion")
- Execute: node.exe ExpanderSync.js -e http://hostname/scripts/customer.fcgi?action=safeParse&includeId=ExpanderSync&key=TimeIsAnIllusion -m get -t e:\src\hostname\ -y ejscript,screen_definition,screen_chooser,extra_tables -v 1
The -m parameter specifies sync direction: "status", "sync", "get" or "put". For the ejscript table, we support two-way sync based on last_changed datetimes. So, you can edit a file locally, and another file inside SuperOffice, and then using "-m sync" should update correctly. For the other tables, only "get" is supported for now, as we don't have last_changed in the db.