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
Last revisionBoth sides next revision
72:cms_configuration [2019/03/20 07:39] – [Common Configuration] tssr72:cms_configuration [2019/08/28 11:56] – [Sharepoint] vtbr
Line 38: Line 38:
 </code> </code>
  
-As you can see, the root element of the CMS configuration is the **<cms>** element. +**<stages-config>**
-The configuration has to have one **<cms-type>** element for every content management system you want to support in your Stages application. The attribute __name__ of each **<cms-type>** is crucial for the system to work. Every CMS implementation has its own and unique __name__.+
  
-Right after the **<cms-type>** element you can define multiple **<cms-property>** elements, which affect the entire typeThese properties are called global properties. +The root XML element of the stages configuration file. The configuration for the content management systems has to be inserted inside this element. The CMS configuration is a child element of the <stages-config> element.
-The attribute __name__ identifies the property by its key. The __value__ attribute defines the value for that property.+
  
-Each **<cms-type>** element can contain several **<cms-host>** elements. +**<cms>**
-Every **<cms-host>** element has the following attributes: __ident__, __name__ and __displayName__.+
  
-The __ident__ of a **<cms-host>** has to be unique for this stages server. The __name__ attribute identifies the server name of the content management system. This name has to have a protocol and the host name (without any path e.g. /some/path). The display name of the host will be shown in the host dropdown selection field in the Stages Web-GUI.+This element holds all configuration data for the content management systems.
  
-Inside of a **<cms-host>** element you can define **<cms-property>** elements, which affect only the specific host. These properties are called host properties.+**<cms-type name="" >** 
 + 
 +The <cms-type> element represents the configuration for single content management system you want to support in your Stages application. 
 + 
 +  * __name__: The attribute "name" of each <cms-type> is crucial for the system to work. Every CMS implementation has its own and unique "name"
 + 
 +**<cms-property name="" value="" >** (Global Properties) 
 + 
 +Right inside the <cms-type> element you can define multiple <cms-property> elements, which affect the entire CMS type. These properties are called global properties. 
 + 
 +  * __name__: The attribute "name" identifies the property by its key. 
 +  * __value__: The "value" attribute defines the value for that property. 
 + 
 +**<cms-host ident="" name="" displayName="" >** 
 + 
 +A <cms-type> element can have several <cms-host> elements. 
 + 
 +  * __ident__: The "ident" of a <cms-host> is a simple string but has to be unique for the Stages server. 
 +  * __name__: The "name" attribute identifies the server by the URL of the content management system. Please note that this URL must contain the protocol, the server's host name (not its IP address), optionally a port number, and **NO** path elements (e.g. [[https://myhost:10443]]). 
 +  * __displayName__: The display name of the host will be shown in the host dropdown selection field in the Stages application. 
 + 
 +**<cms-property name="" value="" >** (Host Properties) 
 + 
 +Inside a <cms-host> element you can define <cms-property> elements, which affect only the specific host. These properties are called host properties
 + 
 +  * __name__: The attribute "name" identifies the property by its key. 
 +  * __value__: The "value" attribute defines the value for that property.
  
 ==== Subversion ==== ==== Subversion ====
Line 118: Line 141:
         <cms-property name="state.attribute.name" value="_Status" />         <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="Dokument" /> +        <cms-property name="document.content.type.name" value="Document" /> 
-        <cms-property name="link.content.type.name" value="Verknüpfung zu einem Dokument" />+        <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_username" />
Line 132: Line 155:
 **stages.server.url ** (required) **stages.server.url ** (required)
  
-  * Default Value: N/A+   * Default Value: N/A
   * Description: The URL under which Stages is accessible.   * Description: The URL under which Stages is accessible.
  
Line 189: Line 212:
 **version.date.format ** **version.date.format **
  
-   * Default Value: N/A+  * Default Value: N/A
   * Description: The localized date format that SharePoint is using.   * Description: The localized date format that SharePoint is using.
  
-**raw.version.date.format ** (required)+**raw.version.date.format **  (required)
  
   * Default Value: yyyy-MM-dd'T'HH:mm:ss'Z'   * Default Value: yyyy-MM-dd'T'HH:mm:ss'Z'
   * Description: The date format that SharePoint is using internally.   * Description: The date format that SharePoint is using internally.
  
-**document.content.type.name ** (required if Sharepoint Content Types are enabled)+**document.content.type.name **  (required if Sharepoint Content Types are enabled)
  
   * Default Value: Document   * Default Value: Document
   * Description: The configurable name of the content type "Document". The default value corresponds with the default name in english versions of SharePoint.   * Description: The configurable name of the content type "Document". The default value corresponds with the default name in english versions of SharePoint.
  
-**link.content.type.name ** (required if Sharepoint Content Types enabled)+**link.content.type.name **  (required if Sharepoint Content Types enabled)
  
   * Default Value: Link to a document   * Default Value: Link to a document
Line 222: Line 245:
   * Description: You may enter the SharePoint default domain for the Stages system account here instead of the corresponding field Default domain in the CMS profile. If both values exist, the default domain from the CMS profile is preferred.   * Description: You may enter the SharePoint default domain for the Stages system account here instead of the corresponding field Default domain in the CMS profile. If both values exist, the default domain from the CMS profile is preferred.
  
-**state.attribute.name** (required)+**state.attribute.name**  (required)
  
   * Default Value: N/A   * Default Value: N/A
Line 246: Line 269:
   * Default Value: true   * Default Value: true
   * 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.   * 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.
 +
 +