Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
74:cms_sharepoint [2019/10/16 13:19] tssr74:cms_sharepoint [2020/01/15 09:54] tssr
Line 8: Line 8:
 <cms-type name="sharepoint"> <cms-type name="sharepoint">
     <!-- Global Properties -->     <!-- Global Properties -->
-    <cms-property name="stages.server.url" value="https://stages.mycompany:8080" /> 
-    <cms-property name="http.authentication.hostname" value="nonempty" /> 
-    <cms-property name="http.max.connections" value="100" /> 
-    <cms-property name="http.connection.timeout" value="10000" /> 
-    <cms-property name="http.socket.timeout" value="90000" /> 
-    <cms-property name="http.connection.pool.max.idle" value="60000" /> 
-    <cms-property name="http.ssl.allow.all" value="true" /> 
     <cms-host ident="sharepoint.example.ident" name="https://sharepoint.example.net:1234" displayName="Sharepoint Example Server">     <cms-host ident="sharepoint.example.ident" name="https://sharepoint.example.net:1234" displayName="Sharepoint Example Server">
         <!-- Host Properties -->         <!-- Host Properties -->
-        <cms-property name="state.attribute.name" value="_Status" /> 
         <cms-property name="version.date.format" value="dd.MM.yyyy HH:mm" />         <cms-property name="version.date.format" value="dd.MM.yyyy HH:mm" />
-        <cms-property name="document.content.type.name" value="Document" /> 
-        <cms-property name="link.content.type.name" value="Link to a document" /> 
         <cms-property name="user" value="sharepoint_username" />         <cms-property name="user" value="sharepoint_username" />
-        <cms-property name="password" value="sharepoint_username" />+        <cms-property name="password" value="sharepoint_password" />
     </cms-host>     </cms-host>
 </cms-type> </cms-type>
 +
 </code> </code>
  
Line 31: Line 22:
 These configuration properties affect the behavior of every integrated SharePoint server. These configuration properties affect the behavior of every integrated SharePoint server.
  
-** * ** ''Required''\\+*** ** ''Required'' \\
 Properties marked with ** * ** are required for the adapter to work. Properties marked with ** * ** are required for the adapter to work.
  
-** # ** ''Required but can also be set in web-application''\\+**# ** ''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. 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.
  
-** + ** ''Required but with default''\\+**+ ** ''Required but with default'' \\
 Properties marked with ** + ** are required, but there is a default value. This values can be overridden by configuring it in the config.xml. Properties marked with ** + ** are required, but there is a default value. This values can be overridden by configuring it in the config.xml.
- 
-> http.authentication.hostname (required for ntlm authentication) 
- 
-  * __Description__: The host name of the server that runs Stages and is allowed to authenticate via ntlm against the SharePoint server. 
  
 > http.connection.context.timeout ** + ** > http.connection.context.timeout ** + **
  
-  * __Default Value__: 60000+   * __Default Value__: 60000
   * __Description__: The maximum period of inactivity (in milliseconds) before an authentication context is considered obsolete and will be removed by the resource monitor.   * __Description__: The maximum period of inactivity (in milliseconds) before an authentication context is considered obsolete and will be removed by the resource monitor.
  
Line 78: Line 65:
   * __Default Value__: 100   * __Default Value__: 100
   * __Description__: The maximum number of simultaneous HTTP connections between Stages and SharePoint.   * __Description__: The maximum number of simultaneous HTTP connections between Stages and SharePoint.
 +
 +> http.authentication.hostname
 +
 +  * __Description__: The host name of the server that runs Stages and is allowed to authenticate via ntlm against the SharePoint server.
  
 > cms.browser.activated ** + ** > cms.browser.activated ** + **
  
   * __Default Value__: true   * __Default Value__: true
-  * __Description__: If set to false, it is  not possible to browse through the files in the Stages web-application.+  * __Description__: If set to false, it is not possible to browse through the files in the Stages web-application.
  
-> upload.service+> upload.service ** + **
  
   * __Default Value__: CopyService   * __Default Value__: CopyService
   * __Description__: Either CopyService or RPC. Defines the interface that is used for uploads to SharePoint. CopyService 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   * __Description__: Either CopyService or RPC. Defines the interface that is used for uploads to SharePoint. CopyService 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 ===
  
-=== Host Properties === 
 These configuration properties affect the behavior of one SharePoint Online server. These configuration properties affect the behavior of one SharePoint Online server.
  
-** * ** ''Required''\\ +*** **  ''Required''  Properties marked with ** * **  are required for the adapter to work.
-Properties marked with ** * ** are required for the adapter to work.+
  
-** # ** ''Required but can also be set in web-application''\\ +**# **  ''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.
-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.+
  
-** + ** ''Required but with default''\\ +**+ **  ''Required but with default'' \\ Properties marked with ** + **  are required, but there is a default value. This values can be overridden by configuring it in the config.xml.
-Properties marked with ** + ** are required, but there is a default value. This values can be overridden by configuring it in the config.xml.+
  
 > user ** # ** > user ** # **
Line 105: Line 93:
   * __Description__: You may enter the SharePoint username for the Stages system account here instead of the corresponding field Username in the cms profile. If both values exist, the username from the cms profile is preferred.   * __Description__: You may enter the SharePoint username for the Stages system account here instead of the corresponding field Username in the cms profile. If both values exist, the username from the cms profile is preferred.
  
-> password+> password ** # **
  
   * __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.   * __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.
Line 120: Line 108:
 > link.content.type.name ** + ** > link.content.type.name ** + **
  
-  * __Default Value__: Link to a document +  * __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.+  * __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 > state.attribute.name
Line 163: Line 151:
   * __Default Value__: false   * __Default Value__: false
   * __Description__: When set to true, files will be downloaded from stages using the system account.   * __Description__: When set to true, files will be downloaded from stages using the system account.
- 
  
 === Currently not used === === Currently not used ===
 +
 > stages.server.url > stages.server.url
  
Line 181: Line 169:
 > validateFilename > validateFilename
  
-  * <nowiki>^[^~\"#%&*:<>?/\\\\{|}]+$</nowiki>+  * <nowiki>^[^~"#%&*:<>?/{|}]+$</nowiki>
  
 > validatePath > validatePath
  
-  * <nowiki>^([^~\"#%&*:<>?/\\\\{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.])?([\\\\/]([^~\"#%&*:<>?/\\\\{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.]))*[\\\\/]?$</nowiki>+  * <nowiki>^([^~"#%&*:<>?/{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.])?([\\\\/]([^~\"#%&*:<>?/\\\\{|}.]|[^~\"#%&*:<>?/\\\\{|}.][^~\"#%&*:<>?/\\\\{|}]*[^~\"#%&*:<>?/\\\\{|}.]))*[\\\\/]?$</nowiki> 
 +