Hi everybody ,I have some trouble with creating the document .the create code may like :
Map<String,Object> props = new HashMap<String,Object>();
props.put(PropertyIds.OBJECT_TYPE_ID, "cmis:document");
props.put(PropertyIds.NAME, newDocName);
props.put(PropertyIds.DESCRIPTION,"flowid");
…………
I got the exception:
Property 'cmis:description' is not valid for this type or one of the secondary types!
When I comment the 4th line,everything is ok.What's wrong with the PropertyIds.DESCRIPTION ?