apache - Property cmis:parentId is only defined for folders -
i'm writing cmis interface application. interface returns cmis:document object child of cmis:folder object. here a part of xml output.
the cmis:document object has cmis:parentid property. i'd validate cmis:document object apache chemistry workbench. workbench tool tells me:
property
cmis:parentiddefined folders.
why property not allowed document? how can document reference parent?
the property cmis:parentid not defined cmis:document objects because document can have none, 1 or multiple parents.
to parents of document you have call getobjectparents().
you can, of course, deliver parent id(s) in property doesn't use reserved namespace cmis:, repository specific , generic cmis clients ignore it.
Comments
Post a Comment