Alfresco CMIS: How to translate a ChangeEvent object id to a Document object id? -


context

in cmis, changeevent tells me object has been deleted on remote server, , objectid of object instance workspace://spacesstore/3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0 (real example of changeevent.properties[cmis:objectid]).

i locally kept various identifiers of objects, none of identifiers match identifier in 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 translate changeevent.properties[cmis:objectid] document.properties[cmis:objectid]?

(eg. workspace://spacesstore/3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0 3aca9034-3f53-4946-a0d9-ebcf054912a2;1.0

i remove first 24 characters, guess work alfresco, , not other cmis servers.

environment

alfresco community 4.2.e accessed dotcmis via
http://server/alfresco/api/-default-/public/cmis/versions/1.0/atom

need assign dotcmis alfresco apache chemeistry support please go through below code access object id file name using c#..

 ifolder selectedfolder1 = session1.getobject(objectid) ifolder;    foreach (icmisobject cmisobject in selectedfolder1.getchildren())      {        if (cmisobject.gettype() != typeof(dotcmis.client.impl.folder))          {            if (cmisobject.name.contains(uid))               {                         return false;                 }            }     } 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -