Show TOC

 Resource TypesLocate this document in the navigation structure

Use

Resource types are used to distinguish between objects and to explain their significance. The significance of the object is independent of the format. The format is defined by the MIME type.

Applications and services can deliver enhanced functions for particular types of resources on the basis of the resource type, and can define their display in the explorer.

 

Tip

For example, one of the resource types might be discussion log. This resource type can include several MIME types (txt, doc, ppt, and so on) on which the special functions can be used. Depending on the MIME type, the prescribed symbol is used for all types.

 

Integration

You can specify resource types in many places in the configuration of KM, such as in the configuration of the following objects.

 

Prerequisites
Features

Resource types are often prescribed for applications. However, they can also be user-defined.

A resource type is indicated by a description and a symbol. The description, which is language-dependent, is stored in a bundle file.

You can specify the parameters in the table below in the configuration of a resource type.

Note

All entries are predefined by the application that is using resource types.

 

Parameters of Resource Types

Parameter Required Description

Name

Yes

Name of the resource type in the configuration

Description

No

Description of the resource type

Custom Properties

No

Freely definable custom properties

Bundle File

No

Bundle file in which the key and description for the resource type are stored.

The bundle file is needed for localization.

Key for Description

No

Corresponding key for description to be displayed

Icon

No

Image that is used as the symbol for the resource type.

The file must be stored in the folder /etc/public/mimes/images or in a subfolder thereof.

To do this, specify the file name and, if necessary, the subfolder name, for example, myicon.gif or subfolder/myicon.gif 

Resource Type ID

Yes

Identification of the resource type.

For example, http://example.com/docuresourcetype or mydocuresourcetypeID

Reserved for Application

No

Specifies whether the resource type is used only by applications.

If this is activated, the resource type can be used only by applications. For example, it does not appear in selection dialog boxes on the user interface.

Is for a Collection

No

If this is activated, you can use the resource type only for collections, for example, folders.

If this is deactivated, you can use the resource type only for resources, for example, documents or links.

 

Activities

To create a resource type, choose Content Management → Global Services → Resource Types.