chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From learning coding <>
Subject Property of Document class
Date Mon, 04 Jun 2012 14:36:18 GMT

I have a problem in getting the getPropertyDefinitions() of a document

I am using Filenet p8 for repository.

For example of document class  , property  are     to , from ,cc;sent on
etc. which are already available in content manager.

now created my own property name 'delivered' but i can't able to retrive
the 'delivered'     property.

the code to better understand my code.

with this code i am able to see the availble property not user created
property. so how to see print user created property.


public* void getDocumentClass() {

ItemIterable<ObjectType> v = *session*.getTypeChildren("cmis:document", *

Iterator<ObjectType> i = v.iterator();


ObjectType a =;


Map<String, PropertyDefinition<?>> d = a.getPropertyDefinitions();

  Iterator<String> itr = d.keySet().iterator();


   String key =;

   *if* (Boolean.*FALSE*.equals(d.get(key).isInherited())) {

   PropertyDefinition<?> value = d.get(key);

System.*out*.println(" "+key +" "+value.getDisplayName());






  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message