The CM Room Extension (CMRoomExtension) is a standard extension delivered by SAP for rooms and room parts. It manages folders for data in the rooms and room parts in the Content Management (CM) repository.
Extension Points
You must create the CM room extension for each of the following extension points and define the input and output parameters required in each case.
The system passes on parameter values that it defines when creating a room, for example, the room ID or the room folder, to the other extension points.
Type of Template |
Required Extension Points |
Room template |
|
Room part template |
|
When the extension point in question is reached, the system executes the CM room extension in the rooms or room parts that are based on the template. It takes into account the values of the input parameters and returns the values of the output parameters to the rooms or room parts.
Folders for the CM Room Extension
For the CM room extension, SAP delivers the following preconfigured folders in the Content Management repository, in which the extension can create room-specific or room part-specific subfolders, for example, folders for documents, news items, and links. You can change the list of available folders to meet your company's requirements. Path in the portal: Content Administration → Collaboration Content → Room Template Administration or Room Part Template Administration → Configure Extension Stores.
As soon as rooms or room parts have been created, you cannot move the folders for the CM room extension again.
Example: Define CM Folders for the Event of Creating a Room Part
The list of the assigned extension displays all entries for the extension with a task-specific configuration for certain extension points.
You use the input parameters to define how the system should create and use the folder.
You use the output parameters to define which values the extension returns to the room or room part.You use the Mappedflag to activate output parameters for use within the template. In Parameters, you can enter a variable or a fixed value for each output parameter.
Depending on the extension point defined, the CM Room Extension performs the following activities:
Extension Point |
Activities for the CM Room Extension |
Room creation (ON_CREATE_ROOM) |
|
Room deletion (ON_DELETE_ROOM) |
|
Room part creation (ON_CREATE_ROOMPART) |
|
Addition of a room part to a room (ON_ADD_ROOMPART_TO_ROOM) |
|
Removal of a room part from a room (ON_REMOVE_ROOMPART_FROM_ROOM) |
|
Room part deletion (ON_DELETE_ROOMPART) |
|
Folder and Link Structures for the CM Room Extension
The graphic below shows which folder and link structures the CM Room Extension creates in the CM repository. The system automatically creates a subfolder for each room or room part in the (standard) folder for the room or room part structure. This folder forms the structure of the respective room or room part by means of the following links:
The folder that forms the structure of a room contains links to the entire content of the room and can therefore be used as the entry point for copy and insertion functions. Due to this link mechanism, you can store folders for the room or the room parts in different folders or repositories.