Thursday, May 14, 2009

SAP Portal - Enable Collabration Room in Portal Application

Download supporting libraries
  1. log in SAP Portal, System Administration -> Support -> Portal Runtime -> Browse Deployment
  2. navigate to ROOT/WEB-INF/portal/portalapps/com.sap.netweaver.coll.shared/lib
  3. download the coll.shared.roomobject_api.jar
  4. download \portalapps\com.sap.portal.usermanagement\lib\com.sap.security.api.ep5.jar
  5. download \portalapps\com.sap.netweaver.bc.rf\lib\bc.rf.framework_api.jar
  6. download \portalapps\com.sap.netweaver.coll.shared\lib\coll.shared.extension_api.jar
  7. download \portalapps\com.sap.netweaver.coll.shared\lib\coll.shared.types_api.jar
  8. download \portalapps\com.sap.netweaver.kmc.util\lib\kmc.util.core_api.jar
Place these jars in a local file system
  1. actually the downloaded file will be called com.sap.portal.support.browse.zip
  2. extract the jar to C:\development\sap-portal-7.0.18\lib
Import these jars into NetWeaver Developer Studio
  1. in NWDS, Windows -> Preferences -> Java -> Classpath Variables -> New and add PORTAL_HOME=C:\development\sap-portal-7.0.18\lib
Import these jars into Portal Project
  1. in a Portal project, right click on the project, Properties -> Java Build Path -> Libraries -> Add Variable
  2. select PORTAL_HOME, click on Extend
  3. select the coll.shared.roomobject_api.jar and rest, click on OK
Add service reference in the portalapp.xml
  1. application-config :: property name = "ServicesReference" :: value = "..., com.sap.netweaver.coll.shared, ..."
DONE

No comments: