CMIS is an open standard that allows different content management systems to inter-operate over the Internet. Specifically, CMIS defines an abstraction layer for controlling diverse document management systems and repositories using web protocols.
Getting the CMIS Connector
- Go to the menu Help -> Install new software
- Enter: http://repository.mulesoft.org/connectors/releases
- Select the CMIS Cloud Connector available in the Community group
If you’re not using Mule Studio you can use it with Apache Maven using this guide.
Ok, now lets integrate
What operations does the connector provide you? Let’s have a quick look at some of them. By the way, I’m going to give you the XML snippets rather than the graphical view so that you can just paste them into the XML view of your flow (XML view is available on the bottom tabs of a flow).
First create a new project and you’ll be presented with a blank flow.
Create a Document
Imagine you want to create a document in a CMIS repository. No problem, you can do it with the following example:
A file name, a destination repository folder path, a mime type, an object type, a versioning state and the content ref. Your file will be available in the selected CMIS repository.
Create a Folder
OF course, creating a folder with this connector is pretty straightforward:
The other available operations are:
- Create Relationship
- And much more
To Learn More
You can access the source code on our GitHub repository where you can also find the documentation pages and for those who want to go further there is a bonus track:
Hope you enjoy this cloud connector and please don’t hesitate to leave your comments and questions. See you next time!
Follow us @MuleSoft