Required Objects and Properties#
Syntax |
Description |
---|---|
A Person object: |
To share a document for co-authoring, a Person object representation is needed. We recommend using the free User Synchronization tool provided as part of the free Configuration Accelerator add-on in the M-Files compliance kit to solve this. (We refer to the compliance kit manual for configuration and installation) However, any Person object can be used, if it has an Email property of type text as well as a user account property for internal users. |
Writers and Readers: |
Two properties need to be created to select which users are to get Write or Read access on a shared document on OneDrive. These should be of the type “Choose from list (multi-select)” using the Person object as the value source. |
External File ID: |
This property is to save the ID of the newly checked out file on a Document. This should be a simple “text” property. |
External File URL: |
This property is to save the URL of the newly checked out file on a Document. This should be a “multi-line text” property as these URL strings tend to be a little long. Setting this property to Hyperlink via Content is beneficial as this will make the URL clickable in the metadata card. |
Office URL: |
This property is to save the Office URL of the newly checked out file on a Document. This should be a “multi-line text”. Setting this property to Hyperlink via Content is beneficial as this will make the URL clickable in the metadata card. |
External File Platforms: |
A value-list as well as property should be created, both named External File Platform. This contains the name of the current platform that a file is checked out to. The External File Platform property should be single-select and should use values from the External File Platform value-list. This list should, at the moment, only contain one value called “OneDrive for Business”. |