Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
74:cms_sharepoint_online [2019/10/14 08:49] – [Sharepoint Online] tssr | 74:cms_sharepoint_online [2019/10/16 11:25] – [Sharepoint Online] tssr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[: | + | [[: |
- | # Sharepoint Online | + | ===== Sharepoint Online |
- | Example Configuration | + | === Example Configuration |
+ | <code xml> | ||
+ | < | ||
+ | <!-- Global Properties --> | ||
+ | < | ||
+ | <!-- Host Properties --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
- | ``` xml | + | === Host Properties === |
+ | These configuration properties affect the behavior of one SharePoint Online server.\\ | ||
- | < cms-type name=" | + | ** * ** '' |
+ | Properties marked with ** * ** are required for the adapter to work. | ||
- | < !-- Global | + | ** # ** '' |
+ | Properties | ||
- | < cms-host ident=" | + | ** + ** '' |
+ | Properties marked with ** + ** are required, but there is a default value. This values can be overridden by configuring it in the config.xml. | ||
- | < !-- Host Properties --> | + | > client.id ** * ** |
- | < cms-property name="client.id" value=" | + | * Description: |
+ | * Links: [[https:// | ||
- | < cms-property name="client.secret" value=" | + | > client.secret |
- | < cms-property name=" | + | * Description: |
+ | * Links: [[https:// | ||
- | < cms-property name=" | + | > tenant.id ** * ** |
- | < /cms-host> | + | * Description: |
+ | * Links: [[https:// | ||
- | < /cms-type> | + | > loginserver ** + ** |
- | ``` | + | * Default Value: < |
+ | * Description: | ||
+ | * Links: [[https:// | ||
- | ## Host Properties | + | > scope ** + ** |
- | These configuration properties affect the behavior of one SharePoint Online server. Properties marked with * are required for the adapter to work. Properties marked with + are required, but there is a default value. This values can be overridden by configuring it in the config.xml. | + | |
+ | * Links: [[https:// | ||
- | **\* Required** \ | + | > state.attribute.name |
- | **\+ Required with default value** | + | |
- | `* client.id` | + | > document.content.type.name ** + ** |
- | * Description: | + | * Default Value: Document |
+ | | ||
- | `* client.secret` | + | > link.content.type.name ** + ** |
- | * Description: | + | * Default Value: Link to a document |
+ | | ||
- | `* tenant.id` | + | > use.system.account.for.download ** + ** |
- | * Description: | + | * Default Value: false |
+ | | ||
- | `+ loginserver` | + | ==== Azure Portal ==== |
+ | === Authentication === | ||
+ | Every application registered at the Microsoft azure portal can register **Redirect URIs** in the // | ||
- | * Default Value: | + | {{cms:azure_portal_redirect_urls.png}} |
- | * Description: | + | For the authentication |
+ | < | ||
- | `+ scope` | + | * Protocol: Microsoft only accepts __https__ expect for testing scenarios on localhost (then __http__ is valid as well) |
+ | * Stages-hostname: | ||
+ | * Port: Port Stages is running on (80 for http, 443 for https) or any other custom port | ||
- | * Default Value: *offline_access User.Read Sites.ReadWrite.All* | + | === API Permissions === |
+ | In addition to the Redirect URIs, the application needs permissions for file handling in behalf of the user. The picture below shows, how this should look like: | ||
- | `state.attribute.name` | + | {{cms:azure_permissions.png}} |
- | + | ==== Known Issues | |
- | * Description: This property specifies a column name, which will be used by stages to store the file status. | + | |
- | + | ||
- | `document.content.type.name` | + | |
- | + | ||
- | * Default Value: Dokument | + | |
- | + | ||
- | `link.content.type.name` | + | |
- | + | ||
- | * Default Value: Link to a document | + | |
- | + | ||
- | `use.system.account.for.download` | + | |
- | + | ||
- | * Default Value: false | + | |
- | + | ||
- | * Description: | + | |
- | + | ||
- | ## Azure Redirect URI for Stages | + | |
- | + | ||
- | `[stages-server-url]/ | + | |
- | + | ||
- | ## Known Issues | + | |
- | + | ||
- | #### Commit comments for file versions | + | |
+ | == Commit comments for file versions == | ||
For each checkin of a file, the user can attach a comment for the version which gets created. The Microsoft Endpoint, which is used to read that information, | For each checkin of a file, the user can attach a comment for the version which gets created. The Microsoft Endpoint, which is used to read that information, | ||
- | #### Behavior of Lock/Unlock | + | == Behavior of Lock/ |
Currently, the graph API only supports checkin/ | Currently, the graph API only supports checkin/ | ||
- | #### Initial commit | + | == Initial commit |
Creates two versions (one for the creation of a new file/ second for updating the properties) | Creates two versions (one for the creation of a new file/ second for updating the properties) | ||
- | |||
- |