cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco rookie - implementation question

jason
Champ in-the-making
Champ in-the-making
Hello All,

I have installed Alfresco 3.4 and was doing a pilot project.  As part of this effort, I have created a folder and uploaded a document (MS-Word 2007 type).  Eventually, we will integrate a web application with Alfresco for document management needs.  For immediate proof of concept needs, I was able to write a simple stand alone java program using apache opencmis, extension jar.  I was able to check out, and check in (no updates, just a simple case) the document.  I have verified that the modified date, and the version were updated in Alfresco. 

Now, I was wondering if Alfresco does provide any, rather, if it is possible to update a document, specifically Microsoft Word type documents?  Or would it be Apache POI way?  thinking out loud.  Our use case is to say, update a section (template based doc) of a word document, is it possible to use opencmis api /any other Alfresco way to update (add text) a section of a word document before checking in?

Thank you,
-J
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
There's nothing out-of-the-box, either in the Alfresco API or the CMIS API that will let you update Word documents. If you check out a word document you can use POI or some other library to update it, then you can check it back in, but that's it.

Jeff

jason
Champ in-the-making
Champ in-the-making
Thank you for your response Jeff.

-J