AnsweredAssumed Answered

Can't get children for User Homes

Question asked by naresh on Sep 2, 2011
Latest reply on Sep 8, 2011 by naresh
I am trying to browse the User Homes folder using OpenCMIS. My code is as follows:


ObjectId folderId = session.createObjectId(folderIdString);
Folder folder = (Folder)session.getObject(folderId);
for (CmisObject cmisObject : folder.getChildren()) {
    // print child
}

While session.getObject() gets the User Homes object correctly, folder.getChildren() does not return any children. I know that it has my personal folder under it (and my CMIS session is logged in as me). Is there anything special about "User Homes" that I can't see the children. The same code works correctly for other folders that I have tried.

Thanks.
Naresh

Outcomes