What is the best way to access a document's title, description and author name using the CMIS interface? (I am using OpenCMIS).
For title, I would like a short phrase, e.g. "Introduction to CMIS". I was thinking of using cmis:name, but there seems to a minor glitch. When I upload a document to Alfresco, it sets cmis:name and cmis:contentStreamFileName to the filename, e.g. cmis-intro.pdf. However when I change the document's name from Alfresco's front-end, it not only changes the cmis:name but also the cmis:contentStreamFileName. I was not expecting the latter to change and don't know if it has any bad side-effects.
For description, I would like a short paragraph similar to what Alfreso allows in the document metadata. Is it possible to access this via CMIS?
For author name, I would like the full name (<First Name> <Last Name>). I don't see this anywhere in the CMIS response. The cmis:createdBy has the username, not the full name.
Please let me know what's the best way to get this information via CMIS. Any help or guidance is much appreciated!
Alfresco doesn't distinguish between cmis:name and cmis:contentStreamFileName. Internally it is the same property. The description is a property at the cm:titled aspect. You need the Alfresco OpenCMIS Extension (http://apache-extras.org/p/alfresco-opencmis-extension) to access that. The CMIS spec defines that the author name must the cmis:createdBy property value. cmis:createdBy, in turn, must unambiguously identify a user and therefore is the username and not the full name. There is currently no way to get the full name via CMIS.