Skip to Content
0
Former Member
Jul 01, 2016 at 06:15 AM

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

46 Views

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?