Donald Jackson's blog

Donald Jackson's picture

Revisiting Apache POI

A while ago I wrote a blog post about investigations into Apache POI.

In one of our recent sprint's we have decided to bring this service into the KnowledgeTree system. We have expanded the services of the existing Java XML-RPC service by refactoring it to allow for other services, one of which is the new interface to the Apache POI library.

What this means is we have completed step 1 of the document tracking system, which is the component of actually writing the GUID's into documents downloaded or checked out of KnowledgeTree.

Our next step will be to complete the upload component, which will scan incoming documents for our GUID's and try and automatically place the documents in the correct place in KnowledgeTree without user intervention.

Keep an eye out for these new features in future KnowledgeTree releases.

Donald Jackson's picture

Exploring possibilities with Apache POI

Recently my colleagues and I were tasked with figuring out how to 'track' documents that leave the KnowledgeTree system. Our objective was to allow a user to download / check out a document, make their changes in their preferred tool and then upload it back to KnowledgeTree. Obviously, this is already possible, the only difference now would be that we would need to be able to determine the origin of that document (the actual document in KnowledgeTree), programatically without relying on file names or any other potentially ambiguous data.

We focused initially on one of the most popular types of file, being the Microsoft Office format(s). Our research lead us to the Apache POI project which is a Java API to access Microsoft format files. This API allows access to not only document data (text, embedded objects, etc) but for our needs, it allows read and write access to the document meta data and properties. This allowed us to implement some code which can now embed a GUID into documents, without damaging or making any visible changes to the document.

What does it all mean? Well, in future, when documents enter the KnowledgeTree system, a GUID can be added to them, and upon their return either via the KnowledgeTree Tools, Drop Box, Hot Folders and so on, this GUID can be retrieved and we can intelligently put the document back into it's correct place in the repository making a user's life much easier! Keep an eye out for this feature in future.

Donald Jackson's picture

Screencast: Demonstration of Office Add-in technologies

Hi Everyone, I have put together my first KnowledgeTree post, which happens to be a screencast of one of the projects I am busy working on in conjunction with my colleagues. Just a quick demo of some of the technology that we are implementing the new Office add-in with and maybe a glimpse of what might be coming in future! Enjoy.
Syndicate content