Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error while creating IViews using collaboration API

Hi

I have created one Dynpage portal component, in that i would like to utilize collaboration API.

I am keep on getting errors like "<b>The compilation unit directly references the missing type ...."</b>"

import com.sapportals.htmlb.page.DynPage;

import com.sapportals.htmlb.page.PageException;

import com.sapportals.portal.htmlb.page.PageProcessorComponent;

import com.sap.ip.collaboration.room.api.IRooms;

import com.sapportals.portal.prt.runtime.PortalRuntime;

import com.sapportals.htmlb.*;

import com.sapportals.htmlb.enum.*;

public class Sample extends PageProcessorComponent {

public DynPage getPage() {

return new SampleDynPage();

}

public static class SampleDynPage extends DynPage

{

IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);

/**

  • Initialization code executed once per user.

I have included the following jar files:

bc.rf.framework_api.jar

coll.shared.extension_api.jar

coll.shared.roomobject_api.jar

coll.shared.types_api.jar

com.sap.security.api.ep5.jar

and also i have included com.sap.netweaver.coll.shared in portal.xml as servicesreference

Experts can you please help in the above problem

I am sure u will get reward points.

Thanks in Advance

replied

hi Ravi,

You can find the jars under the folder

usr\sap\<SID>\JC<INR>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\

Regards,

Saravanan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question