cancel
Showing results for 
Search instead for 
Did you mean: 

Get List of properties

Former Member
0 Kudos

Friends,

I am trying to get a list of properties from the portals using KM API. I am using com.sapportals.wcm.service.propertyconfig package to achieve the same. Am I on a right track? Has someone been successful in getting list of metadata properties from the portals using KM API?

Portals version - EP6 SP2

Thanx,

J D

Accepted Solutions (1)

Accepted Solutions (1)

richard_hirsch
Active Contributor
0 Kudos

Hi Jessica,

Take a look Thilo Brandt's documentation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/how to develop with the repository framework apis.pdf

This is a general introduction of all APIs with small examples.

I don't know exactly know what you want to do. Get all possible properties for all resources, the property values for a particular resource, usw.

Dick

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jessica,

The interface IResource has a getProperies() method.

<u>Here's a list I printed</u>:

NS: http://sapportals.com/xmlns/cm/collaboration

Name: commentcount

NS: http://sapportals.com/xmlns/cm

Name: created

NS: http://sapportals.com/xmlns/cm/rendering

Name: ImageSource

NS: http://sapportals.com/xmlns/cm/collaboration

Name: SingleDiscTreeNodeProperty

NS: http://sapportals.com/xmlns/cm/collaboration

Name: feedbackcount

NS: http://sapportals.com/xmlns/cm

Name: readonly

NS: http://sapportals.com/xmlns/cm

Name: enhancedcollection

NS: http://sapportals.com/xmlns/cm/rendering

Name: IconRolloverSource

NS: http://sapportals.com/xmlns/cm

Name: createdby

NS: http://sapportals.com/xmlns/cm

Name: displayname

NS: http://sapportals.com/xmlns/cm/rendering

Name: IconSource

NS: http://sapportals.com/xmlns/cm/collaboration

Name: personalnotecount

NS: http://sapportals.com/xmlns/cm

Name: hidden

NS: http://sapportals.com/xmlns/cm

Name: modifiedby

NS: http://sapportals.com/xmlns/cm

Name: modified