07-15-2013 11:22 AM
Hi all, i wanted to know how could someone instantiate a custom datamodel through cmis. i created a type named Book, with
book.xsd
and all that stuff. but i can't figure what is the
Object_type_id
i have to put in order that nuxeo recognizes that type. Could you help, please ?
my code :
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "Book");
properties.put(PropertyIds.NAME, filename);
Document doc =theFolder.createDocument(properties, null, null);
07-15-2013 02:36 PM
Please could you help me !!!!
07-16-2013 03:52 AM
take it easy
07-16-2013 03:47 AM
Hi,
I don't have the exact answer but here are some directions:
first : having a schema (book.xsd) is not enough to make a document type. Unless your description was incomplete, you should probably start here: http://doc.nuxeo.com/x/D4AO
Second : some example are available here to create and update a document through CMIS: http://chemistry.apache.org/java/examples/example-create-update.html
07-16-2013 06:44 AM
Thank you,
07-16-2013 11:02 AM
issue doesn't seem to exist. Replace issue by File and try it. Did you create the issue doc type ? Are you sure it's available ?
09-07-2013 08:33 PM
Any news here ? Someone can use cmis to create types ?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.