Context
In CMIS, a ChangeEvent tells me that an object has been deleted on the remote server, and that the objectId of this object is for instance workspace://SpacesStore/3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0
(real example of ChangeEvent.Properties[cmis:objectId]
).
I locally kept the various identifiers of all objects, but none of the identifiers match exactly the identifier in the ChangeEvent:
Document.Properties[cmis:objectId]
is
3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0
Document.Properties[alfcmis:nodeRef]
is
workspace://SpacesStore/3aca9034-3f53-4946-a0d9-ebcf054912a2
.
Question
How should I translate from ChangeEvent.Properties[cmis:objectId]
to Document.Properties[cmis:objectId]
?
(eg. from workspace://SpacesStore/3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0
to 3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0
I could just remove the first 24 characters, but I guess it would only work for Alfresco, and not with other CMIS servers.
Environment
Alfresco Community 4.2.e accessed by DotCMIS via
http://server/alfresco/api/-default-/public/cmis/versions/1.0/atom