Data directory
The ConSol CM data directory is a folder on the server where ConSol CM runs. Its location is defined in the system property cmas-core-shared
, data.directory
.
The data directory contains the following folders:
- design: Contains CSS files, images, and libraries which are needed to change the appearance of the Web Client, see Layout customization using skinning
- index: Contains the index files, see Index.
- mail: Contains emails which could not be stored in the database as EML files, see Failed incoming emails.
- resources: Contains CSS files, images, and libraries which are needed in field visualizations, page visualizations and widget visualization.
Available information
The following information is shown for items in the data directory:
- Type: Icon for file or folder
- Name: Name of the file or folder
- Extension: Extension of the file.
- Size: Size of the file or folder.
- Last modified: Last modification of the file or folder.
Managing design and resources
The content of the design
and resources
folders can be managed on the Data directory page of the Web Admin Suite. The following actions are available:
- Find files or folders: Navigate through the directory by clicking the folders in the table or clicking the links in the Current directory path shown above the table. Type the name of a file or folder in the search field to filter the table accordingly. If matching files or folders are found in other subdirectories, links to open them are shown above the table.
- Preview images: Hover over the icon in the Type column to show a preview of image files.
- Edit files: Edit text files (extensions
.csv
,.css
,.html
,.js
,.json
,.md
,.txt
and.xml
) directly by double-clicking their name. This opens a modal window with a text editor. - Rename files or folders: Click the Rename icon in a row to rename the respective file or folder.
- Download files or folders: Download specific files or folders by clicking the Download icon in their row. The Download all button allows you to download everything, i.e. the
design
andresources
folders with their content. - Upload files: Upload a file to the current location by clicking the Upload file button. If you upload a zip file, it is automatically unpacked in the target location.
- Create a file: Click the New file button and enter a name with extension to create a new file in the current location.
- Create a directory: Click the New directory button and enter a name to create a new folder in the current location.
- Delete files or folders: Click the Delete icon in a row to remove the respective file or folder.
Cluster installations
The folders design
and resources
of the data directory are not synchronized between the different nodes. You need to load the required files manually to the data directories of all nodes.