Hi Mano,
It is not possible to change the object type after creation.
OpenCMIS silently removes the property from the properties map because
it is not valid for a property update.
Regards,
Florian
On 24/01/2011 14:07, Mano Swerts wrote:
Hi all,
I use OpenCMIS 0.2 to connect to an Alfresco 3.4 repository.
I try to update the object type using the following code:
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(PropertyIds.OBJECT_TYPE_ID, "D:" +
ParkTypeIds.EMPLOYEE_DOCUMENT);
document.updateProperties(properties);
But this doesn't work. There is no exception, but the type doesn't change.
Is it possible to change the type after creation?
Kind regards,
Mano Swerts
_________________________________________________
We published a new company movie featuring YOU!
See http://www.aca-it.be/movie
_________________________________________________