03-20-2012 09:25 AM
03-20-2012 12:39 PM
>>> client = CmisClient('http://localhost:8080/alfresco/cmisatom', 'admin', 'admin')
>>> repo = client.defaultRepository
>>> folder = repo.getObjectByPath('/test')
>>> tree = folder.getTree()
>>> for res in tree:
… res.name
…
u'sub1'
u'sub11'
u'sub111'
u'sub112'
u'sub12'
u'sub2'
u'sub3'
>>> client = CmisClient('http://localhost:8080/alfresco/s/api/cmis', 'admin', 'admin')
>>> repo = client.defaultRepository
>>> folder = repo.getObjectByPath('/test')
>>> tree = folder.getTree()
>>> for res in tree:
… res.name
…
u'sub2'
u'sub3'
u'sub1'
There are other differences between the two implementation as well, so please do use the new one if possible.03-22-2012 05:58 AM
03-22-2012 10:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.