AnsweredAssumed Answered

createDocument() new Model at CMIS

Question asked by josesemt on May 22, 2009
Latest reply on Jun 17, 2009 by josekdiz
Hi, i am trying to create a new type Document with CMIS.

If i do this, it works:
createDocument(repositoryId, "document", properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR);

But if i do this, it doesn`t work

createDocument(repositoryId, "D/jma_documentoPru", properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR);

It returns an invalid type Document…

I`ve configured a new model "jma:documentPru" and i can create documents of this model at alfreco console.
I`ve also configured a new folder "jma:folderPru" and it works very well.
The problem is with the new type whose parent is "content".

Can anyone help me??

Thank you..

Outcomes