Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8430

Re: Update standard collection(Collaborators in Project creation) from a custom extension collection

$
0
0

Hello Krish,

 

I have used the same and for me its working fine.

 

import com.sap.odp.api.ibean.IBeanHomeLocator;

import com.sap.odp.api.doc.collaboration.CollaboratorRoleIBeanHomeIfc;

import com.sap.odp.api.common.log.Logger;

import com.sap.odp.api.common.exception.*;

 

collaboratorRoleHome=IBeanHomeLocator.lookup(session,CollaboratorRoleIBeanHomeIfc.sHOME_NAME);

collaboratorRoleBean = collaboratorRoleHome.findUniqueByName("Collaborator");

collaboratorRoleRef = collaboratorRoleBean.getObjectReference();

logMessage("collaboratorRoleHome is: "+collaboratorRoleHome+ " collaboratorRoleBean is : " +collaboratorRoleBean+ " collaboratorRoleRef is : " +collaboratorRoleRef, 0);

 

See the logs screen below

 

SCN.jpg

 

Regards,

Raj


Viewing all articles
Browse latest Browse all 8430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>