hope_is_grim
hope_is_grim

Reputation: 1934

how to use Alfresco Sharepoint protocol in my java web application

I have an existing Java web application with document and spreadsheet files in Microsoft Office format.
I want to provide Sharepoint-like edit online functionality to allow user to edit files in Word and Excel and save them to the server.

I try this with the edit link generated from Alfresco but it only works in IE.
So do I have to use some cross-browser library for ActiveXObject support?
Or is there any easy way to embed the document edit link from Alfresco into my web application?

And for the document to be accessible by the protocol:
Do I have to use Alfresco services to upload my documents?
Or can I embed Alfresco server or Alfresco's VTI Jetty server into my application to serve my documents?


EDIT

So there is not any cross-browser ActiveX
After read Alfresco's action.js, I find out that there is something called Sharepoint plugin.
I have no problem generating the edit link now


EDIT 2

Microsoft Office works fine with normal WebDAV server, so there is no need for embedding Alfresco in my web application

Upvotes: 1

Views: 1337

Answers (1)

Andreas Steffan
Andreas Steffan

Reputation: 6159

There should be no need for any special code within the browser. As Gagravarr said, the links should work fine when Office is installed on the client.

Although it can be done, most likely you do not want to embed an Alfresco repository (with or without Jetty) within your application and use its CMIS and/or RESTful HTTP interfaces to work on content. Embedding a repository means introducing various dependencies. I see no reasoning in your scenario.

Upvotes: 1

Related Questions