cancel
Showing results for 
Search instead for 
Did you mean: 

Edit Word Document through URL viaWebdav

j_pfeifer_
Champ in-the-making
Champ in-the-making
Hello,

i have the following Problem:

I'm implementing an Interface in Java for an internal Tool to the Alfresco Repository, which gives Access to the Alfresco Document Managment System. One of the Requirements to this Interface is a Method that returns a Link to a Document through which it is possible to edit a Document. So far i got it to return the Link to Alfresco Space containing the Document. The User then can click on "Edit Online", but as it turns out the following should be possible:

1. The User clicks on the Link inside the Tool
2. A Microsoft Office Word 2003 Window with the Document opens
3. The User makes changes in the Document
4. The User clicks "Save" and the Document is beeing saved in Alfresco (Versioning should be done automatically)

The "Edit Online" Action in the Alfresco UI works fine, but it is supposed to work without the UI, so that the User doesn't have to see the UI.

The Standard Browser is Internet Explorer.

I found out that behind the "Edit Online" Button is JavaScript that seems to call an ActiveX Object which opens the a WebDav URL inside Microsoft Word. How do I reuse the Code behind this Action for my Purpose? Maybe Someone has a better Idea on how to get this Requirment to work?
2 REPLIES 2

j_pfeifer_
Champ in-the-making
Champ in-the-making
Hello Again,

does no one have any Idea on what to do or where to look, that might be helpful to my Problem?

Did I post this Issue in the right Subforum / Category?

stevegreenbaum
Champ in-the-making
Champ in-the-making
I am trying to do something similar.  I want to embedded a link in a page to allow the user to directly open a Word document in edit mode using Word 2007/Windows XP.  Using IE or Firefox with the webdav add-on, it always opens the document read-only when I use the document's webdav url.

How can I open the document for editing?

I've tried it for document repository (8080) and Share (7070) documents, always with the same result.  Here is an example url:

http://localhost:7070/alfresco/Project_Number_1/documentlibrary/2nd%20dtry%20test%201.docx

I was experimenting with webdav, but ultimately want the word document to open with the Sharepoint protocol functions activated (e.g., Document Management Pane, Server Word Button).  I currently have all of the vti parameters configured and they are working well when I open Word directly. 

Is there a url format for Sharepoint protocol support?
*******************************************************************************************
Quick update since posting this item:

I found what I was looking for in the following forum post: http://forums.alfresco.com/en/viewtopic.php?f=3&t=19885

The key is webdav.js as noted in that post.