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:53] – tssr | 74:cms_sharepoint_online [2021/03/03 14:57] – fnpk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | __false__ | + | [[: |
+ | |||
+ | ===== Sharepoint Online ===== | ||
+ | |||
+ | === Example Configuration === | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | <!-- Global Properties --> | ||
+ | < | ||
+ | <!-- Host Properties --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | === Host Properties === | ||
+ | |||
+ | 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 can also be set in the //File Management// | ||
+ | |||
+ | '' | ||
+ | Properties marked with are required, but there is a default value. This values can be overridden by configuring it in the config.xml. | ||
+ | |||
+ | > client.id ** * ** | ||
+ | |||
+ | * Description: | ||
+ | * Links: [[https:// | ||
+ | |||
+ | > client.secret ** * ** | ||
+ | |||
+ | * Description: | ||
+ | * Links: [[https:// | ||
+ | |||
+ | > tenant.id ** * ** | ||
+ | |||
+ | * Description: | ||
+ | * Links: [[https:// | ||
+ | |||
+ | > loginserver | ||
+ | |||
+ | * Default Value: < | ||
+ | * Description: | ||
+ | * Links: [[https:// | ||
+ | |||
+ | > scope | ||
+ | |||
+ | * Default Value: offline_access User.Read Sites.ReadWrite.All | ||
+ | * Links: [[https:// | ||
+ | |||
+ | > state.attribute.name | ||
+ | |||
+ | * Description: | ||
+ | |||
+ | > document.content.type.name | ||
+ | |||
+ | * Default Value: Document | ||
+ | * Description: | ||
+ | |||
+ | > link.content.type.name | ||
+ | |||
+ | * Default Value: Link to a document | ||
+ | * Description: | ||
+ | |||
+ | * Known Issue: Typo in Default Value. Has to be Link to a **D**ocument | ||
+ | |||
+ | > use.system.account.for.download | ||
+ | |||
+ | * Default Value: false | ||
+ | * Description: | ||
+ | |||
+ | ==== Azure Portal ==== | ||
+ | |||
+ | === Authentication === | ||
+ | |||
+ | Every application registered at the Microsoft azure portal can register **Redirect URIs** | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | For the authentication process to work, you have to add the following redirect to the list:< | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Protocol: Microsoft only accepts __https__ | ||
+ | * Stages-hostname: | ||
+ | * Port: Port Stages is running on (80 for http, 443 for https) or any other custom port | ||
+ | |||
+ | === 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: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | === Repository Configuration === | ||
+ | |||
+ | Access to SharePoint Online projects can be configured in Stages processes via “Management > File Management > Repositories”. [[https:// | ||
+ | |||
+ | > Name: The name of this SharePoint Online configuration. This name will be used by Stages to refer to this repository configuration (e.g. in repository plan) | ||
+ | |||
+ | > Host: This selection field contains an entry for each cms-host section in the Stages configuration file (config.xml). You can select the host for this repository configuration. | ||
+ | |||
+ | > Site: Define a site parameter for this repository configuration. The site is the path to the location, where your document libraries are located on the SharePoint server. The site is one piece for the complete connection string to the SharePoint server. The connection string is build like that: // | host.url | : | port | | **/ | ||
+ | |||
+ | This overwrites the **path** | ||
+ | |||
+ | Example: | ||
+ | |||
+ | * **config.xml**: | ||
+ | * Value in **Site**: // | ||
+ | * Resulting **URL**: //< | ||
+ | * The path from the config.xml gets overwritten by the value from Repository Path. | ||
+ | |||
+ | > Document Library: | ||
+ | |||
+ | > Root Folder: | ||
+ | |||
+ | > Default Lifecycle | ||