Skip to Content
0
Former Member
May 25, 2005 at 01:24 PM

problem when using IRoomInfoReader/IRopomUsers in SDN example code

18 Views

Hi I am working on EP 6.0 SP2 P31, KMC 6.0 SP2 P31 and making Room development with NW Developer Studio. From https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/knowledge management and collaboration developers guide.html I got the room extension example in com.sap.netweaver.kmc.roomextension.zip. I just add a ON_AFTER_CREATE_ROOM and code for handling this event before adding

IRoomInfoReader roomInfo = (IRoomInfoReader)context.getValue(RoomExtensionParameter.ROOM_INFO);

or

IRoomUsers roomUsers = (IRoomUsers)context.getValue(RoomExtensionParameter.ROOM_INFO);

(in order to retrieve the newly created roomÂ’s owner's id)

The example code is working, the extensions are visible, they can be added to our room template and room can be created successfully with this template.

After adding one of these two commands program stops just before this command line and there is no error message recorded in the log file.

Does this KMC release version support using these two interfaces? Thanks for help.

Best regards.

Wang