06-07-2010 03:08 AM
07-05-2012 02:53 PM
>>> dl = repo.getObject('workspace://SpacesStore/75374df2-37cf-497c-b10e-061215df4b3c;1.0')
>>> rels = dl.getRelationships()
>>> len(rels)
3
>>> rels[0].name
u'16|workspace://SpacesStore/75374df2-37cf-497c-b10e-061215df4b3c|workspace://SpacesStore/d9e5a020-2f47-4c29-b1e5-b0f212e26587|{http://www.alfresco.org/model/content/1.0}attachments'
>>> rels[0].getTarget().name
u'test-plain-1.txt'
>>> rels[1].getTarget().name
u'test-plain-2.txt'
>>> rels[2].getTarget().name
u'test-plain-3.txt'
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.