Stages can interact with configuration management systems to work with remotely stored files. The configuration for these systems is done in two simple steps:
Currently, following content management systems are available and can be configured as described in the linked sections:
To enable Stages to communicate with an external content management system, you have to add an xml part to the central configuration file, which is located at <stages-directory>/conf/config.xml
.
The code block below shows a xml snippet, which can be used to configure all types of supported cms systems. Text inside brackets []
are placeholders and have to be filled out following the configuration guide for a specific system.
<?xml version="1.0" encoding="UTF-8" ?> <stages-config> ... <cms> <cms-type name="[name]"> <!-- Global Properties --> <cms-property name="[key]" value="[value]" /> <cms-host ident="[ident]" name="[http://hostname.com]" displayName="[displayName]"> <!-- Host Properties --> <cms-property name="[key]" value="[value]" /> </cms-host> </cms-type> </cms> ... </stages-config>
In the following section, all xml elements from the code block above are explained:
stages-config
cms
cms-type | Attributes: name
cms-property | Attributes: name, value | <!– Global Properties –>
cms-host | Attributes: ident, name, displayName
cms-property | Attributes: name, value | <!– Host Properties –>
To add, remove or edit a repository, navigate to “Management” → “File Management” of the workspace.
Add
Open the main menu in the top right corner. You will see a list of all CMS types which are available. Click on “Add” to create a new repository configuration for that CMS type.
Edit
To Edit an existing repository, click on its name or open the menu and click “Edit”.
Remove
To remove a repository, open the menu on the right of the repository you want to delete. Then select “Delete” and confirm the deletion.
For CMS type specific configurations please see:
Repository errors are shown next to the menu button on the right of each repository list entry. The following errors can occur:
The following figure shows, how these errors look like, when you click on the error-indicator (yellow exclamation mark)