cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS WebScript getDescendants/children

jordisolisc
Champ in-the-making
Champ in-the-making
Hi,

When I execute CMIS webscripts to get folders or document hierarchies, p.e:

http://localhost:8080/alfresco/service/cmis/i/1c0e2869-cde0-40c2-8ece-514691733100/children

I can get all information about children but not about the node consulted. I mean, all the "entry" returned by the webscript includes properties like ,cmisSmiley SurprisedbjectTypeId,cmis:versionSeriesCheckedOutId,cmis:name,…

But the node that is consulted 1c0e2869-cde0-40c2-8ece-514691733100 only properties like: author, title, updated…

Is it possible to include this information to the node "parent"?. I tried with descendants, tree and children webscripts but this information is not included by these.
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
The spec doesn't provide for including the properties of the parent in the feed of a result set.

If you want the properties of the parent, you'll have to ask for them, like:
http://localhost:8080/alfresco/cmisatom/1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9/id?id=workspace://Space...

(Note, in the example above I am using the OpenCMIS URL. You should use that too if you are using Alfresco 4.x. The web script based CMIS implementation is deprecated).

Jeff