AnsweredAssumed Answered

How to manage content with custom models

Question asked by webraccoon on Feb 23, 2010
Latest reply on Feb 23, 2010 by erolozcan

i try to adapt one of the SDK Webservice examples. I have a content and i'm able to store this in the repository via webservice -> ok.
But, this content is only ContentType "plain/text". What i prefer is to add to this content my own model.

How can i do that?
i tried to change new ContentFormat("plain/text", "UTF-8"); to new ContentFormat("invoice:doc", "UTF-8"); but of course this doesn't work.
I don't know which method i should take to add a custom model. Can anybody help please?