cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS custom metadata

daoudja
Champ in-the-making
Champ in-the-making

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);
6 REPLIES 6

daoudja
Champ in-the-making
Champ in-the-making

Please could you help me !!!!

take it easy

Fred_Vadon
Star Contributor
Star Contributor

Hi,

I don't have the exact answer but here are some directions:

daoudja
Champ in-the-making
Champ in-the-making

Thank you,

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 ?

Rafael_Bueno
Confirmed Champ
Confirmed Champ

Any news here ? Someone can use cmis to create types ?