As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Starting with Alfresco 4, the web script based CMIS implementation (http://localhost:8080/alfresco/service/cmis) is deprecated. Where possible, you should use the OpenCMIS implementation instead (http://localhost:8080/alfresco/cmisatom).In a quick test using curl, I noticed that when a user does not have access to Company Home, the old implementation fails while the new implementation succeeds.Jeff
Ticket can be specified in password, if any of the following are true: a) username is not specified (i.e. null, or length of zero) b) username is equal to "ROLE_TICKET" (case insensitive)
>>> client = CmisClient('http://localhost:8080/alfresco/cmisatom', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c') >>> repo = client.defaultRepository >>> repo.id u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9' >>> repo.name u'Main Repository' >>> repo.rootFolder.name u'Company Home'
Hello,The answer is here : https://issues.alfresco.com/jira/browse/ALF-7074Ticket can be specified in password, if any of the following are true: a) username is not specified (i.e. null, or length of zero) b) username is equal to "ROLE_TICKET" (case insensitive)Hope it helps
Works like a charm…>>> client = CmisClient('http://localhost:8080/alfresco/cmisatom', '', 'TICKET_e5ce8e2a36af2188dbda30bee4d0633db4605a6c') >>> repo = client.defaultRepository >>> repo.id u'1b8980cc-1f1b-4ac3-b26f-17aeee0cefc9' >>> repo.name u'Main Repository' >>> repo.rootFolder.name u'Company Home'Thanks, Jean-Marie!Jeff