Co-existing with CtrlShare#

It is possible to have both CtrlShare and CtrlSync installed on the same M-Files vault. However, while CtrlSync uses Teams and SharePoint, CtrlShare uses Microsoft OneDrive (or Google Drive).

In order to allow the applications to work together, it is necessary to configure CtrlShare with the following EventConfiguration:

{
    "BeforeCheckOutActions": [
        "CtrlSync.CheckOut"
    ],
    "AfterCheckInActions": [
        "CtrlSync.CheckIn"
    ]
}

These event handlers ensure that:

  • Before a document is checked out to OneDrive, CtrlSync should check it out in SharePoint or Teams as well, preventing external edits.

  • After a document is checked in from OneDrive, CtrlSync should check it back into SharePoint or Teams.