cancel
Showing results for 
Search instead for 
Did you mean: 

jar files to get pcd object

smruti_moharana
Participant
0 Kudos

Hi Experts ,

Kindly guide me to find the download path for the below jar files in Portal  7.3

1) com.sap.portal.usermanagementapi.jar

2) com.sap.portal.pcd.glserviceapi.jar

3) com.sap.portal.pcmbuilderserviceapi.jar 

Thanks & Regards,

Smruti Ranjan Moharana

Accepted Solutions (1)

Accepted Solutions (1)

smruti_moharana
Participant
0 Kudos

Hi Lawrence,

Thanks a lot for your valuable help kindly guide me to find the path to download

com.sap.portal.ivs.api_iview_api.jar,tcepbcpcmadminapijava.jar files in sap ep7.3

Thanks & Regards,

Smruti Ranjan Moharana

Former Member
0 Kudos

\usr\sap\SID\JXX\j2ee\cluster\apps\sap.com\com.sap.portal.ivs.api_iview\servlet_jsp\com.sap.portal.ivs.api_iview\root\WEB-INF\lib

resp

no such file on my own EP.

Smruti, you want ask me every time you are missing compenents, dont you? Maybe I can help you in a more general way.

What are you trying to do, missing some classes while NWDS developing, huh?

cheers

smruti_moharana
Participant
0 Kudos

Hi Lawrence,

I am trying to retrieve to the iview details programatically like iview name ,description etc, to achieve the same i am using the below code

Hashtable env = new Hashtable();

    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);

    env.put(Context.SECURITY_PRINCIPAL, request.getUser());

    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);

  

        InitialContext iCtx = null;

        IiView myIView ;

        try

       {

        String iViewID = "pcd:portal_content/smruti/odisha";

        iCtx = new InitialContext(env);

        myIView =(IiView)iCtx.lookup(iViewID);

       

       

        }

       catch(NamingException e)

        {

        }

      

But i am getting error PcmConstant cant resolved,kindly guide me to find the appropiate jar file and its location .

Thanks & Regards,

Smruti Ranjan Moharana

Former Member
0 Kudos

Hi Smruti,

the class you are looking for is provided by:

add this jar to your build path and it will work.

Generally, to be able to do class locating on your own:

1.)search all jar files on you EP and copy them to your local development environment

2.)install class locator plugin for eclipse and index that folder

3.)If you are looking for a class resp would like to adapt your build path just enter the class name you are looking for and add appropriate jar to your project, thats it

cheers

smruti_moharana
Participant
0 Kudos

Hi Lawrence,

Thanks a lot for your valuable guidance, i am using portal 7.31.7.0 version  if you have the jar file related to the class kindly send me to my mail :smruti.mh@gmail.com

Thanks & regards,

Smruti Ranjan Moharana

Former Member
0 Kudos

Hi Smruti,

I can do that, but I would advise you against for several reasons, mainly because you will need to deploy this library together with your component. Beware: its strongly not recommended to deploy SAP standard stuff, since you can got problems after updating your portal. So its a really bad idea to do that, you must have this one also on your EP. You cant find that?

cheers

smruti_moharana
Participant
0 Kudos

HI Lawrence,

Thanks a lot for u r valuable help, i got that jar file from sap server.

Thanks & Regards ,

Smruti Ranjan Moharana

Answers (1)

Answers (1)

Former Member
0 Kudos

usr\sap\SID\JXX\j2ee\cluster\apps\sap.com\YOUR_APPLICATION_NAME(e.g. com.sap.portal.usermanagement)\servlet_jsp\YOUR_APPLICATION_NAME\root\WEB-INF\lib


2) com.sap.portal.pcd.glserviceapi.jar

3) com.sap.portal.pcmbuilderserviceapi.jar 

There are no such file as far I know, you mean com.sap.portal.pcd.glservice_api resp looking for appropriate war's?

cheers