AnsweredAssumed Answered

Retrieve only own properties for a content type

Question asked by deepacp on Feb 18, 2015
Hi,

I would like to retrieve only the own properties for a content type. Currently getProperties() returns properties including the inherited ones. Is there any way to filter out the inherited properties? Any help in this regard will be much appreciated.

I use the code below to retrieve the properties from the ClassDefinition of the content type

      Map<QName, PropertyDefinition> propertyDefn = classdefn.getProperties();

Thanks
Deepa

Outcomes