Hi all,Problem seems simple, but I cannot find out the solution. Requiring your kind help
Using the webservices, I create a document of my own type (bi:my_type). The break-down is like:cm:content <– bi:my_parent_type (1 property in there) <– bi:my_type (1 property in there) <– bi:aspect1 and bi:aspect2 (both quite some props)When creating my CML, I use: CMLCreate create = new CMLCreate(
"1",
myHomeParent,
null,
null,
null,
//Constants.TYPE_CONTENT,
Constants.createQNameString(biModel.NAMESPACE_BI_CONTENT_MODEL, biModel.TYPE_MINE),
contentProps
);
I then go on adding my custom aspects, etc… no problem. My aspects have mandatory aspects, such as lockable, complianceable, etc.. all ok. My PDF document is then uploaded, what I programmatically set is there, but the size of the PDF uploaded in not present. It is only present if I set the CML to TYPE_CONTENT, but then, I lose my custom type property.I haven't found any alfresco aspect that would show this…How should I do this, to have both the size property, without losing my custom type properties? thanks a lot.fred