Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
74:cms_sharepoint [2019/09/25 13:43] – created tssr74:cms_sharepoint [2020/01/15 09:51] tssr
Line 1: Line 1:
-<h3>Sharepoint</h3>+[[:74:cms_configuration|Back to Common CMS Configuration]]
  
-<div class="level3">&nbsp;</div>+==== Sharepoint ====
  
-<h4>Example Configuration</h4>+=== Example Configuration ===
  
-<div class="level4">\\ +<code xml> 
-<pre class="code xml">\\ +<cms-type name="sharepoint"> 
-&lt; cms-type name=&quot;sharepoint&quot;&gt;\\ +    <!-- Global Properties --> 
-  &lt; !-- Global Properties --&gt;\\ +    <cms-host ident="sharepoint.example.identname="https://sharepoint.example.net:1234displayName="Sharepoint Example Server"> 
-  &lt; cms-property name=&quot;stages.server.url&quot; value=&quot;https://stages.mycompany:8080&quot; /&gt;\\ +        <!-- Host Properties --> 
-  &lt; cms-property name=&quot;http.authentication.hostname&quot; value=&quot;nonempty&quot; /&gt;\\ +        <cms-property name="version.date.formatvalue="dd.MM.yyyy HH:mm/> 
-  &lt; cms-property name=&quot;http.max.connections&quot; value=&quot;100&quot; /&gt;\\ +        <cms-property name="uservalue="sharepoint_username/> 
-  &lt; cms-property name=&quot;http.connection.timeout&quot; value=&quot;10000&quot; /&gt;\\ +        <cms-property name="passwordvalue="sharepoint_password" /> 
-  &lt; cms-property name=&quot;http.socket.timeout&quot; value=&quot;90000&quot; /&gt;\\ +    </cms-host> 
-  &lt; cms-property name=&quot;http.connection.pool.max.idle&quot; value=&quot;60000&quot; /&gt;\\ +</cms-type>
-  &lt; cms-property name=&quot;http.ssl.allow.all&quot; value=&quot;true&quot; /&gt;\\ +
-&nbsp;\\ +
-  &lt; cms-host ident=&quot;sharepoint.example.ident&quot; name=&quot;https://sharepoint.example.net:1234&quot; displayName=&quot;Sharepoint Example Server&quot;&gt;\\ +
-      &lt; !-- Host Properties --&gt;\\ +
-      &lt; cms-property name=&quot;state.attribute.name&quot; value=&quot;_Status&quot; /&gt;\\ +
-      &lt; cms-property name=&quot;version.date.format&quot; value=&quot;dd.MM.yyyy HH:mm&quot; /&gt;\\ +
-      &lt; cms-property name=&quot;document.content.type.name&quot; value=&quot;Document&quot; /&gt;\\ +
-      &lt; cms-property name=&quot;link.content.type.name&quot; value=&quot;Link to a document&quot; /&gt;\\ +
-      &lt; cms-property name=&quot;user&quot; value=&quot;sharepoint_username&quot; /&gt;\\ +
-      &lt; cms-property name=&quot;password&quot; value=&quot;sharepoint_username&quot; /&gt;\\ +
-  &lt; /cms-host&gt;\\ +
-&lt; /cms-type&gt;+
  
-</pre>+</code>
  
-<p>&nbsp;</p>\\ +=== Global Properties ===
-</div>+
  
-<h4>Global Properties</h4>+These configuration properties affect the behavior of every integrated SharePoint server.
  
-<div class="level4">\\ +*** ** ''Required'' \\ 
-<p>These configuration properties affect the behavior of every integrated SharePoint server. The configuration of them needs to be done in the <b>&lt;cms-type&gt;</b> section of config.xml.</p>+Properties marked with ** * ** are required for the adapter to work.
  
-<p><b>stages.server.url </b> (required)</p>+**# ** ''Required but can also be set in web-application'' \\ 
 +Properties marked with ** # ** are required but can also be set in the //File Management// section in the Stages web-application as well. The value entered in the web-application overrides the one from the config.xml.
  
-<ul>\\ +**+ ** ''Required but with default'' \\ 
- <li class="level1">Default Value: N/A</li>\\ +Properties marked with ** + ** are required, but there is a default value. This values can be overridden by configuring it in the config.xml.
- <li class="level1">Description: The URL under which Stages is accessible.</li>\\ +
-</ul>+
  
-<p><b>http.authentication.hostname </b> (required for NTLM authentication)</p>+> http.connection.context.timeout ** + **
  
-<ul>\\ +   * __Default Value__60000 
- <li class="level1">Default ValueN/A</li>\\ +  * __Description__: The maximum period of inactivity (in milliseconds) before an authentication context is considered obsolete and will be removed by the resource monitor
- <li class="level1">Description: The host name of the server that runs Stages and is allowed to authenticate via NTLM against the SharePoint server.</li>\\ +http.connection.pool.max.idle ** + **
-</ul>+
  
-<p><b>upload.service</b></p>+  * __Default Value__: 60000 
 +  * __Description__: The maximum period of inactivity (in milliseconds) until a server connection will be closed automaticallyFor technical reasons the sum of http.connection.pool.max.idle and http.connection.resource.check.interval has to be lower than the keep-alive timeout of SharePoint's IIS site (default: 120s). 
 +http.connection.timeout ** + **
  
-<ul>\\ +  * __Default Value__10000 
- <li class="level1">Default ValueCopy service</li>\\ +  * __Description__The timeout in milliseconds until a connection to the server has to be established
- <li class="level1">DescriptionEither CopyService or RPC. Defines the interface that is used for uploads to SharePointCopyService is the default setting, the only drawback is that it might create an additional version for the initial checkin depending of the SharePoint setting Checkout required</li>\\ +http.connection.resource.check.interval ** + **
-</ul>+
  
-<p><b>initial.checkin.fix</b></p>+  * __Default Value__: 10000 
 +  * __Description__: The interval (in milliseconds) between two consecutive resource monitor runs which check for idle or expired connections and obsolete authentication contexts. 
 +http.socket.timeout ** + **
  
-<ul>\\ +  * __Default Value__90000 
- <li class="level1">Default Valuetrue</li>\\ +  * __Description__The maximum time of inactivity (in milliseconds) until a server connection is considered dead and will be closed forcefully. This value should be higher than http.connection.pool.max.idle
- <li class="level1">DescriptionIf CopyService is used for uploads, causes Stages to repeat the initial checkin in case the comment or version are not created correctly in SharePoint.</li>\\ +http.ssl.allow.all ** + **
-</ul>+
  
-<p><b>http.ssl.allow.all</b></p>+  * __Default Value__: false 
 +  * __Description__: When set to true, disables any verification checks for certificates in case of SSL-secured HTTPS connectionsIt is recommended to only use this in test environments where no valid certificates exist (e.gself-signed certificates). 
 +http.max.connections ** + **
  
-<ul>\\ +  * __Default Value__100 
- <li class="level1">Default Valuefalse</li>\\ +  * __Description__The maximum number of simultaneous HTTP connections between Stages and SharePoint. 
- <li class="level1">DescriptionWhen set to true, disables any verification checks for certificates in case of SSL-secured HTTPS connections. It is recommended to only use this in test environments where no valid certificates exist (e.gself-signed certificates).</li>\\ +> http.authentication.hostname
-</ul>+
  
-<p><b>http.max.connections</b></p>+  * __Description__: The host name of the server that runs Stages and is allowed to authenticate via ntlm against the SharePoint server. 
 +cms.browser.activated ** + **
  
-<ul>\\ +  * __Default Value__true 
- <li class="level1">Default Value100</li>\\ +  * __Description__If set to false, it is not possible to browse through the files in the Stages web-application
- <li class="level1">DescriptionThe maximum number of simultaneous HTTP connections between Stages and SharePoint.</li>\\ +upload.service ** + **
-</ul>+
  
-<p><b>http.connection.timeout</b></p>+  * __Default Value__: CopyService 
 +  * __Description__: Either CopyService or RPCDefines the interface that is used for uploads to SharePointCopyService is the default setting, the only drawback is that it might create an additional version for the initial checkin depending of the SharePoint setting Checkout required 
 +=== Host Properties ===
  
-<ul>\\ +These configuration properties affect the behavior of one SharePoint Online server.
- <li class="level1">Default Value: 10000</li>\\ +
- <li class="level1">Description: The timeout in milliseconds until a connection to the server has to be established.</li>\\ +
-</ul>+
  
-<p><b>http.socket.timeout</b></p>+*** **  ''Required''  Properties marked with ** * **  are required for the adapter to work.
  
-<ul>\\ +**# **  ''Required but can also be set in web-application''  Properties marked with ** # **  are required but can also be set in the //File Management//  section in the Stages web-application as wellThe value entered in the web-application overrides the one from the config.xml.
- <li class="level1">Default Value: 90000</li>\\ +
- <li class="level1">Description: The maximum time of inactivity (in milliseconds) until a server connection is considered dead and will be closed forcefullyThis value should be higher than http.connection.pool.max.idle.</li>\\ +
-</ul>+
  
-<p><b>http.connection.pool.max.idle</b></p>+**+ **  ''Required but with default'' \\ Properties marked with ** + **  are required, but there is a default valueThis values can be overridden by configuring it in the config.xml.
  
-<ul>\\ +user ** **
- <li class="level1">Default Value: 60000</li>\\ +
- <li class="level1">Description: The maximum period of inactivity (in milliseconds) until a server connection will be closed automatically. For technical reasons the sum of http.connection.pool.max.idle and http.connection.resource.check.interval has to be lower than the keep-alive timeout of SharePoint&#39;s IIS site (default: 120s).</li>\\ +
-</ul>+
  
-<p><b>http.connection.context.timeout</b></p>+  * __Description__: You may enter the SharePoint username for the Stages system account here instead of the corresponding field Username in the cms profileIf both values exist, the username from the cms profile is preferred. 
 +password ** # **
  
-<ul>\\ +  * __Description__You may enter the SharePoint password for the Stages system account here instead of the corresponding field Password in the cms profile. If both values exist, the password from the cms profile is preferred
- <li class="level1">Default Value60000</li>\\ +domain ** # **
- <li class="level1">Description: The maximum period of inactivity (in milliseconds) before an authentication context is considered obsolete and will be removed by the resource monitor.</li>\\ +
-</ul>+
  
-<p><b>http.connection.resource.check.interval</b></p>+  * __Description__: You may enter the SharePoint domain for the Stages system account here instead of the corresponding field Default domain in the cms profile. If both values exist, the domain from the cms profile is preferred. 
 +document.content.type.name ** + **
  
-<ul>\\ +  * __Default Value__Document 
- <li class="level1">Default Value10000</li>\\ +  * __Description__: The configurable name of the content type ''Document''. The default value corresponds with the default name in english versions of SharePoint
- <li class="level1">Description: The interval (in milliseconds) between two consecutive resource monitor runs which check for idle or expired connections and obsolete authentication contexts.</li>\\ +link.content.type.name ** + **
-</ul>\\ +
-</div>+
  
-<h4>Host Properties</h4>+  * __Default Value__: Link to a Document 
 +  * __Description__: The configurable name of the content type ''Link to a Document''. The default value corresponds with the default name in english versions of SharePoint. 
 +state.attribute.name
  
-<div class="level4">\\ +  * Description: The optional SharePoint column to write the Stages state to.
-<p><b>version.date.format </b></p>+
  
-<ul>\\ +label.attribute.name
- <li class="level1">Default Value: N/A</li>\\ +
- <li class="level1">Description: The localized date format that SharePoint is using.</li>\\ +
-</ul>+
  
-<p><b>raw.version.date.format </b> (required)</p>+  * Description: The optional SharePoint column to read Stages labels from.
  
-<ul>\\ +label.attribute.delimiter ** + **
- <li class="level1">Default Value: yyyy-MM-dd&#39;T&#39;HH:mm:ss&#39;Z&#39;</li>\\ +
- <li class="level1">Description: The date format that SharePoint is using internally.</li>\\ +
-</ul>+
  
-<p><b>document.content.type.name </b> (required if Sharepoint Content Types are enabled)</p>+  * __Default Value__: '','' 
 +  * __Description__: A delimiting character or string that separates single labels. 
 +raw.version.date.format ** + **
  
-<ul>\\ +  * __Default Value__: ''yyyy-MM-dd'T'HH:mm:ss'Z' '' 
- <li class="level1">Default ValueDocument</li>\\ +  * __Description__: The date format that SharePoint is using internally
- <li class="level1">Description: The configurable name of the content type &quot;Document&quot;. The default value corresponds with the default name in english versions of SharePoint.</li>\\ +version.date.format
-</ul>+
  
-<p><b>link.content.type.name </b> (required if Sharepoint Content Types enabled)</p>+  * __Description__: The localized date format that SharePoint is using. 
 +major.versions ** + **
  
-<ul>\\ +  * __Default Value__true 
- <li class="level1">Default ValueLink to a document</li>\\ +  * __Description__This optional property can be used to specify whether major versions (e.g 2.0) or minor versions (e.g. 0.2) are to be created on checkin. By default major versions are created (major.versions=true). Set major.versions=false if minor versions shall be created instead. A more fine-grained configuration which version type is created on which state change can be defined for document lifecycles in the metamodel
- <li class="level1">DescriptionThe configurable name of the content type &quot;Link to a document&quot;The default value corresponds with the default name in english versions of SharePoint.</li>\\ +page.size ** + **
-</ul>+
  
-<p><b>user</b></p>+  * __Default Value__: 1000 
 +  * __Description__: Item count of one page received from the Sharepoint server. 
 +page.url.override
  
-<ul>\\ +  * __Description__: N/A 
- <li class="level1">Default Value: N/A</li>\\ +use.system.account.for.download ** + **
- <li class="level1">Description: You may enter the SharePoint username for the Stages system account here instead of the corresponding field Username in the CMS profileIf both values exist, the username from the CMS profile is preferred.</li>\\ +
-</ul>+
  
-<p><b>password</b></p>+  * __Default Value__: false 
 +  * __Description__: When set to true, files will be downloaded from stages using the system account. 
 +=== Currently not used ===
  
-<ul>\\ +stages.server.url
- <li class="level1">Default Value: N/A</li>\\ +
- <li class="level1">Description: You may enter the SharePoint password for the Stages system account here instead of the corresponding field Password in the CMS profileIf both values exist, the password from the CMS profile is preferred.</li>\\ +
-</ul>+
  
-<p><b>domain</b></p>+  * __Description__: The url to this Stages server. 
 +initial.checkin.fix ** + **
  
-<ul>\\ +  * __Default Value__true 
- <li class="level1">Default ValueN/A</li>\\ +  * __Description__If CopyService is used for uploads, causes Stages to repeat the initial checkin in case the comment or version are not created correctly in SharePoint
- <li class="level1">DescriptionYou may enter the SharePoint default domain for the Stages system account here instead of the corresponding field Default domain in the CMS profileIf both values exist, the default domain from the CMS profile is preferred.</li>\\ +element.url.attribute.name
-</ul>+
  
-<p><b>state.attribute.name</b> (required)</p>+  * __Description__: The optional SharePoint column where external links to Stages may be stored as a back-reference 
 +validateFilename
  
-<ul>\\ +  * <nowiki>^[^~"#%&*:<>?/{|}]+$</nowiki>
- <li class="level1">Default ValueN/A</li>\\ +
- <li class="level1">Description: The optional SharePoint column to write the Stages state to.</li>\\ +
-</ul>+
  
-<p><b>label.attribute.name</b></p>+validatePath
  
-<ul>\\ +  * <nowiki>^([^~"#%&*:<>?/{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.])?([\\\\/]([^~\"#%&*:<>?/\\\\{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.]))*[\\\\/]?$</nowiki>
- <li class="level1">Default ValueN/A</li>\+
- <li class="level1">DescriptionThe optional SharePoint column to read Stages labels from.</li>\\ +
-</ul> +
- +
-<p><b>label.attribute.delimiter</b></p> +
- +
-<ul>\\ +
- <li class="level1">Default ValueN/A</li>\\ +
- <li class="level1">Description: A delimiting character or string that separates single labels.</li>\\ +
-</ul> +
- +
-<p><b>element.url.attribute.name</b></p> +
- +
-<ul>\+
- <li class="level1">Default ValueN/A</li>\\ +
- <li class="level1">DescriptionThe optional SharePoint column where external links to Stages may be stored as a back-reference</li>\\ +
-</ul> +
- +
-<p><b>major.versions</b></p> +
- +
-<ul>\\ +
- <li class="level1">Default Valuetrue</li>\\ +
- <li class="level1">Description: This optional property can be used to specify whether major versions (e.g 2.0or minor versions (e.g. 0.2are to be created on checkin. By default major versions are created (major.versions=true). Set major.versions=false if minor versions shall be created instead. A more fine-grained configuration which version type is created on which state change can be defined for document lifecycles in the metamodel.</li>\\ +
-</ul>\\ +
-</div>+