Skip to Content
author's profile photo Former Member
Former Member

How can we retrieve all the documents in KM repository using plain java code remotely(i.e no deployment on server)

Dear experts,

I have an requirement of navigating through all the KM documents and getting their various properties.

I have very good knowledge of Java development but no knowledge about NWDS or WebDypro java.

Using the below code we can connect get information resource ID of an document.

com.sapportals.portal.security.usermanagement.IUser user =

WPUMFactory.getServiceUserFactory().getServiceUser("Service user ID");

IResourceContext rCtx = new ResourceContext(user);

RID data= RID.getRID("Relative Path"+"/Article.pdf");

Lets say I want to connect with DEV or QA portal. (version 7.40)

How can be connect to a particular portal?

Is it possible to remotely access the KM content , without deployment on server?If yes, how can we achieve that?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 01, 2016 at 06:24 AM

    Hi,

    Kindly check the below link to retrive the KM document properties

    http://scn.sap.com/docs/DOC-28126

    Regards

    Kiruthika

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.