cancel
Showing results for 
Search instead for 
Did you mean: 

List of KM folder

Former Member
0 Kudos

I logon web portal

http://csmepp1.cementhai.co.th:55300/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/documen...

and would like to map list files with KM folder. How should I check?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206159
Active Contributor
0 Kudos

Hi,

Your question is not clear.

can you be more specific.

Raghu

Former Member
0 Kudos

I would like to know where they are kept in os level or database and would like to list those files.

Former Member
0 Kudos

Where they are stored depends on the type of repository manager and its configuration.

There's a KM Java API exposing related functionality, including listing the members of a folder.

Best regards, Julian

Former Member
0 Kudos

If it is kept in database. How should I list them? Which table?

Former Member
0 Kudos

You shouldn't. It's private KM data.

Use the API.

Former Member
0 Kudos

How can I use API or you mean list from web portal that I send before?

Former Member
Former Member
0 Kudos

Link you have mentioned explains portal drive. Portal drive client is used to work with KM documents as you do in your windows drive. Its similar to mapping network drives. You can use this client in case you want to map your KM folders as windows drive and use it.

In case you need to list the members of any KM folder say /documents/XXX, you can write a portal component and achieve this. Use KM API's to do this.

e.g,

RID rid = RID.getRID("/documents/XXX");

IResource resource = ResourceFactory.getResource(rid,resourceContext);

ICollection collection = (ICollection) resource;

IResourceList resourceList = collection.getChildren();

you can iterate this resourcelist object to get the members of the KM folder(/documents/XXX).

Check the KM javadoc link below for more details.

http://help.sap.com/javadocs/NW04S/current/km/index.html

Regards,

Yoga