The Apache Chemistry Workbench is a very cool tool for exploring a CMIS accessible content repository. I really liked the Groovy console for quickly experimenting and validating code, but be careful. One for the included sample scripts that I was modifying included this:
OperationContext oc = session.createOperationContext(); oc.setFilterString("cmis:objectId,cmis:contentStreamLength"); oc.setIncludeAllowableActions(false); oc.setMaxItemsPerPage(10000);
The setFilterString limits the properties that are returned – I spent about an hour trying to figure out if Groovy had a bug that was preventing all the properties from coming back.
One other note – here’ s the connection string for an Alfresco CMIS AtomPub binding that I used: