AnsweredAssumed Answered

Type Setting while document upload!

Question asked by manmeet on Aug 14, 2006
Latest reply on Aug 14, 2006 by manmeet
Wanting to upload a document of a custom model.
Have defined a custom model my:sop under the namespace my.new.model. Using the Alfresco GUI there is no problem uplaoding a document using the new model.
How do we go about uploading it using the custom model?

I guess we need to set the type of the document to:
Type:   {my.new.model}sop
Instead of the default:
Type:   {http://www.alfresco.org/model/content/1.0}content

Also here my:sop has been inherited from the content model.

So where in the code can we set the TYPE of the model?

Any help in this regard shall be appreciated.

Thanks,
Manmeet

Outcomes