AnsweredAssumed Answered

something wrong with PropertyIds.DESCRIPTION

Question asked by just1n on May 30, 2013
Latest reply on May 31, 2013 by just1n
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 ?

Outcomes