Creating, Editing and Deleting File Types

To create a new file type or edit an existing file type you must have the 'File Type Administration' policy enabled, as described in the section called “Defining a Policyset”.

To create a new global file type, right click the 'File Types' tree item under the server tree item and select the 'New' menu. This file types will apply to all repositories.

To create a new repository file type, right click the 'File Types' tree item under the repository tree item and select the 'New' menu. This file types will only apply to this repository.

Note

If you create a repository with the same type and subtype as a global file type, then the repository file type will override the server file type. This can be useful where you have a repository with a special case. For example, you might generally want 'text/plain' files to be Ascii encoding, so a global 'text/plain' file type will be created with Ascii encoding. You might, however, have a particular repository where you want the encoding to be 'UTF-8'. So you will create a repository file type 'text/plain' with encoding 'UTF-8'.

To edit an existing file type right click the file type and select 'Properties'.

Figure 10.1. File Type Properties - General

File Type Properties - General

Select the file type from the drop down and enter the file subtype in the edit box. These are used by users when setting their local file type options, as described in the Client Options section of the PureCM User Guide.

The list of file extensions is used to establish the default file type of a file when it is first added to the server. So in the example above, all files with the cpp extension will default to use the file type 'text/c++'. The default file type can be overridden by the user when adding the file as described in the Add, Edit & Submit section of the PureCM User Guide..

Figure 10.2. File Type Properties - Description

File Type Properties - Description

Enter a description for the file type is required.

Figure 10.3. File Type Properties - Flags

File Type Properties - Flags

Check the flags you want to enable for files belonging to this file type. See the section called “File Type Flags” for a description of the different flags.

To delete file types select them in the list and right-click 'Delete'. You cannot delete base file types. Base file types are used by PureCM as a fall back if a more specific file type cannot be found. The list of base file types includes 'text/plain', 'text/utf-8', 'text/utf-16' and 'application/generic'.