Archive

Archive for September, 2009

Workflow, DMS, Nuxeo: cool update for attaching documents in Tempo

September 4, 2009 Leave a comment

I had to check on how the CMIS support was implemented in Nuxeo, and a few other CMS/DMS platforms. Went on doing my duties and realized we had no support to store attachments in Nuxeo for Tempo. So here I go, spending a late evening on my way back in the last train for Yokohama to code that and push it to github.

They have quite a cool remote api that they have named restlet api, that you can use to  execute your favorite remote CRUD operations, along a few others. It came out the api is easy to learn and here we go for a few screenshots to show how it works now.

Note that this suppose you have a running nuxeo server, (download here) with the restpack installed.

Below is how you configure the TaskAttachmentService (in tempo-tas.xml) to use the NuxeoStorageStrategy.

Screen shot 2009-09-04 at 8.21.46 AMNothing special here. Just note that the folder named repoName will be created on demand.

Let’s go to edit an activity task in Tempo and attach a file, here named beach7.jpg
Screen shot 2009-09-04 at 8.39.06 AM

The file has been uploaded, and is now an attachment for that task.Screen shot 2009-09-04 at 8.43.35 AM

So let’s go and see on the Nuxeo side what happens. Let’s log in and browse around a bit.

Screen shot 2009-09-04 at 8.39.28 AM

Note that the repository folder that we defined in the configuration file has been automatically created.

Screen shot 2009-09-04 at 8.39.35 AM

Now we can display the image, straight from the task, or straight from Nuxeo.

Screen shot 2009-09-04 at 8.39.51 AM

And a video to show, it’s As easy as ABC.

Categories: Uncategorized