Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
How to Create
a Room
Template
Version 1.00 – March 2006
Applicable Releases:
SAP NetWeaver ’04s
© Copyright 2006 SAP AG. All rights reserved. contained in this document serves informational
purposes only. National product specifications may vary.
No part of this publication may be reproduced or
transmitted in any form or for any purpose without the These materials are subject to change without notice.
express permission of SAP AG. The information These materials are provided by SAP AG and its affiliated
contained herein may be changed without prior notice. companies ("SAP Group") for informational purposes
only, without representation or warranty of any
Some software products marketed by SAP AG and its kind, and SAP Group shall not be liable for errors or
distributors contain proprietary software components of omissions with respect to the materials. The only
other software vendors. warranties for SAP Group products and services are those
that are set forth in the express warranty statements
Microsoft, Windows, Outlook, and PowerPoint are accompanying such products and services, if any.
registered trademarks of Microsoft Corporation. Nothing herein should be construed as constituting an
additional warranty.
IBM, DB2, DB2 Universal Database, OS/2, Parallel
Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, These materials are provided “as is” without a warranty
iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent of any kind, either express or implied, including but not
Miner, WebSphere, Netfinity, Tivoli, and Informix are limited to, the implied warranties of merchantability,
trademarks or registered trademarks of IBM Corporation fitness for a particular purpose, or non-infringement.
in the United States and/or other countries. SAP shall not be liable for damages of any kind including
without limitation direct, special, indirect, or
Oracle is a registered trademark of Oracle Corporation. consequential damages that may result from the use of
these materials.
UNIX, X/Open, OSF/1, and Motif are registered SAP does not warrant the accuracy or completeness of
trademarks of the Open Group. the information, text, graphics, links or other items
contained within these materials. SAP has no control
Citrix, ICA, Program Neighborhood, MetaFrame, over the information that you may access through the
WinFrame, VideoFrame, and MultiWin are trademarks use of hot links contained in these materials and does not
or registered trademarks of Citrix Systems, Inc. endorse your use of third party web pages nor provide
any warranty whatsoever relating to third party web
HTML, XML, XHTML and W3C are trademarks or pages.
registered trademarks of W3C®, World Wide Web SAP NetWeaver “How-to” Guides are intended to
Consortium, Massachusetts Institute of Technology. simplify the product implementation. While specific
product features and procedures typically are explained
Java is a registered trademark of Sun Microsystems, Inc. in a practical business context, it is not implied that those
features and procedures are the only approach in solving
JavaScript is a registered trademark of Sun Microsystems, a specific business problem using SAP NetWeaver. Should
Inc., used under license for technology invented and you wish to receive additional information, clarification
implemented by Netscape. or support, please refer to SAP Consulting.
Any software coding and/or code lines / strings (“Code”)
MaxDB is a trademark of MySQL AB, Sweden. included in this documentation are only examples and
are not intended to be used in a productive system
SAP, R/3, mySAP, mySAP.com, xApps, xApp, and other environment. The Code is only intended better explain
SAP products and services mentioned herein as well as and visualize the syntax and phrasing rules of certain
their respective logos are trademarks or registered coding. SAP does not warrant the correctness and
trademarks of SAP AG in Germany and in several other completeness of the Code given herein, and SAP shall
countries all over the world. All other product and not be liable for errors or damages caused by the usage of
service names mentioned are the trademarks of their the Code, except if such damages were caused by SAP
respective companies. Data intentionally or grossly negligent.
1 (Business) Scenario
Room templates predefine technical information to make the creation process of a room
as easy as possible. In most cases, each room template reflects a specific business
scenario (For example, Meeting Template is designed for the requirements of standard
meetings).
In the following scenario it is planned to offer a room template that creates the following
pages for building up a “virtual working environment” for project team members:
• Project Home Page
• Documents Page
o Consist of a documents iView to store documents of the project team.
Within the project folder a sub folder structure should be published as
initial content.
• Tasks Page
• Room Administration Page
2 Introduction
Every room is based on a room template. A room template is a blueprint for a room with
room-specific views of the room content. The template combines iViews and pages in a
task-specific blueprint, from which the user can generate rooms for corresponding tasks.
There are two options how you can create a room template:
1. Duplicate an existing room template and change it.
2. Create a new room template.
If you can reuse most of the content of an existing template the first option is useful as
you can reduce the effort of configuring extensions and mappings.
-1-
2.2 Best Practices
Some points should be considered when designing room templates:
• Build rather small room templates and enhance existing rooms during lifecycle
with room parts
• A small template fits to the basic needs of several stakeholders and
reduces the amount of needed room templates
• This offers a higher flexibility of room owners
• Start the implementation project with a minimal number of room templates and
room parts.
• Keep the design of templates simple and consistent:
• All pages should have a similar structure
• Place maximum two iViews per inner page
• Define a Room Information iView for each page (Room Title, picture, etc.)
-2-
3 The Step By Step Solution
This section describes step by step the necessary actions for creating a room template.
The described example is based on a duplicate of one of the templates delivered by
SAP, the “SAP_Project_Template_2”.
The step by step description and screenshots are based on an NW2004s NetWeaver
portal, but the configuration is similar on EP6.0/NW04.
For the configuration which is described here, please be sure that you are logged on with
at least the following administration roles: Content Administrator and System
Administrator.
In the following steps you duplicate the SAP Collaboration Room Template
SAP_Project_Template_2 and reuse the following pages:
• Project Home
• Tasks
• Admin: Room
-3-
3.2 Configure portal content in the Portal Content Directory
If you duplicate a room template all Portal specific content is also duplicated in the Portal
Content Directory.
All changes have to be done in the duplicated workset placed in the Template Worksets
folder. In the example below you need to perform the following steps:
• Delete unnecessary pages
• Create new iViews/pages, or reuse existing content and add them to the template
workset
-4-
Save the page.
Edit the assigned iView and
change the LayoutSet
Parameter to ConsumerExplorer.
This is necessary as another
LayoutSet is needed for that
scenario.
You can create and configure initial content - like folder structures, documents etc. – for
rooms. In order to publish initial content in rooms, you need to reference it within the CM
Room Extension.
This step has to be fulfilled as it is a mandatory part of the scenario in this guide.
However it is not generally necessary for the creation of a room template and is therefore
marked as optional step.
-5-
6. Create a folder structure as template
• Select Content Administration
KM Content
• Navigate to folder path
/root/room_extensions
• Create a folder named Template
with the following subfolders:
o Projectphase1
o Projectphase2
o Projectphase3
This step describes how to configure the template in the Room Template Administration
iView. As according to this example three of four pages are reused from the original
room template, the corresponding mapping and extension configuration can be reused.
The newly created “Document” page consist of a “Room Information” iView that displays
Room details and a KM Navigation iView “Documents” . The
“Documents” iView is to build a room specific content folder for project specific
documents within the rooms.
For the correspondent KM Repository folder you need to perform the following
configuration steps:
-6-
• Define an external parameter “foldername” that allows a room owner to
configure the name of the project folder within the room creation process.
• Add a CM Room Extension configuration entry responsible for the
creation of the folder in the CM backend system and for the setting of KM
permission on folder level.
• Assign the preconfigured folder structure (see 3.3) in the CM Room
Extension to assure that this initial content is published in the project
folder.
-7-
10. Configure the extensions
• If you open the Extension tab
you can find all original
extensions that were used for
the original template.
• Remove the following entries:
o Documents
o Events
o Linklist
o Session
• The configuration entries
Milestones and News are
needed for the Project Home
page.
11. Add a new configuration entry of
the CM Room Extension
• Name: Documents
• Add the Extension Point
On_Create_Room
-8-
These stores define preconfigured
folders in the CM repository, in which the
extension creates the subfolders for data
from rooms or room parts.
In the example (see screenshot to the
right) there are three different folders
created under workspaces that might
come from different rooms.
-9-
15. Configure the Input Parameter
Access
• Select “Private” from Value Help
Private means that the permissions
are set for room members. Public
would mean that the everyone group
would get read permission, which is
the correct configuration for the
public documents area within rooms.
- 10 -
18. Add the ON_DELETE_ROOM
Extension Point
Go to the cmRoomExtensionSP2FP
of Documents and add
ON_DELETE_ROOM extension
Point.
You don’t need to do specific
configuration for that Extension
Point.
19. Configure the parameter mappings
1. Go to tab Mappings
• You can configure the necessary
iView parameter mappings page
by page
• As the first three pages are
copied from an existing template,
the mapping parameters are
already configured
2. Open the page “Document” and
maintain the following entries:
iView:
com.sap.netweaver.coll.RoomI
nformationExtended
com_sap_netweaver_coll_inform
ation_roomid = room_id
iView:
com.sap.netweaver.coll.docu
ments_2_level
path = documents_path
roomed = room_id
StartUri = documents_path
- 11 -
20. Configure permissions
• Go to tab Permissions
• You can leave the Permissions
screen empty
Permissions can be set if you want to
restrict the usage of the Template for
the Collaboration Room Creation. No
configuration means that there is no
restriction.
If you have created your room template you can validate it to check basic configuration
settings. If the validation doesn’t report errors you should still test the template by
creating a room based on it.
- 12 -
22. Create a room
• Select Content Administration
Collaboration Content Room
Creation and create a room with
the newly created
Project_Rooms Template
• Open the room and check if
everything is working.
- 13 -
http://service.sap.com/nw2004s-howtoguides