AnsweredAssumed Answered

Custom Type Properties

Question asked by riadhazzouz on Mar 19, 2019
Latest reply on Mar 25, 2019 by blade

I wrote this function to retrieve nodes of a custom type I created :
public static List<CmisObject> getQueryResults(String queryString) {
Session session = getSession();
List<CmisObject> objList = new ArrayList<CmisObject>();
CmisObject obj = session.getObjectByPath("/CustomContent/");
Folder f = (Folder) obj;
ItemIterable<CmisObject> items = f.getChildren();
for (CmisObject o : items) {
System.out.println(o.getName() + " which is of type " + o.getType().getDisplayName());
objList.add(o);
}
return objList;
}

 

how can I get the properties of each node of the cutom type I created ?

Outcomes