Skip to Content
0
Former Member
Mar 10, 2009 at 12:41 PM

PeoplePicker custom wpc component issue

23 Views

Hi Experts,

We have developed a custom PeoplePicker WPC component developed on the lines after decompiling the com.sap.ip.collaboration.coreui.api.people.composite.PeoplePicker.class file. The wrapper class that implements the IService interface was also developed and the component was registered in WPC.

Below is the snapshot of the portalapp.xml file used for this component.

<?xml version="1.0" encoding="UTF-8"?>

<application>

<application-config>

<property name="SecurityArea" value="wpc"/>

<property name="Vendor" value="com.sap.nw.wpc"/>

<property name="SharingReference" value="com.sap.nw.wpc.utils,com.sap.nw.wpc.core,com.sap.nw.wpc.km.svc.extresourceservice,usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, com.sap.netweaver.kmc.people, com.sap.netweaver.kmc.util"/>

<property name="ClassLoadingPolicy" value="coreAccessInAPI,transitive"/>

</application-config>

<components>

</components>

<services>

<service name="PeoplePickerService">

<service-config>

<property name="className" value="com.sap.nw.wpc.km.service.editor.component.PeoplePickerServiceWrapper"/>

<property name="startup" value="true"/>

</service-config>

</service>

</services>

</application>

When this component is reference in a custom webform and accessed it throws the error - could not find portal application as well as Error in init method. It sounds as though some of portal application is not reference in SharingReference of portalapp.xml.

Where can we obtain the portalapp.xml file located for the PeoplePicker standard SAP component. What else could be the problem? Any pointers will be highly appreciated and rewarded.