Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

cancel
Showing results for 
Search instead for 
Did you mean: 
sbezateva
Member II

Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

Jump to solution

Hello all, 

Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

If is possible what  rest API is for this?

To be more specific I need to know how to implement this Editing files in Microsoft Office | Alfresco Documentation 

Thank you!

1 Solution

Accepted Solutions
mehe
Senior Member II

Re: Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

Jump to solution

Hi Sev,

you would just have to create the MS-specific URLs on your HTML Page (see Office-URI-Schemas  - I bookmarked the german Version).

You can also easily grab'em off alfresco share with Chrome or Firefox developer tools, if you click on the "edit in Microsoft Word" link.

An Url to "edit in Word" for mydoc.docx on the site mysite would be:

ms-word:ofe|u|https://YOURSERVER/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx‍

for use with http (no https), you would have to tweek some registry keys.

Regard,

Martin

View solution in original post

3 Replies
mehe
Senior Member II

Re: Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

Jump to solution

Hi Sev,

you would just have to create the MS-specific URLs on your HTML Page (see Office-URI-Schemas  - I bookmarked the german Version).

You can also easily grab'em off alfresco share with Chrome or Firefox developer tools, if you click on the "edit in Microsoft Word" link.

An Url to "edit in Word" for mydoc.docx on the site mysite would be:

ms-word:ofe|u|https://YOURSERVER/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx‍

for use with http (no https), you would have to tweek some registry keys.

Regard,

Martin

sbezateva
Member II

Re: Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

Jump to solution

Hi Martin,

I'm working on web application that stores Word documents in Alfresco using shared Alfresco user account. I want to have a link in my application that opens a document in Word and treats Alfresco server as shared drive. However, users that can login to my web application don't have Alfresco account and they should not need to login to Alfresco in order to save the document. It that possible? 

mehe
Senior Member II

Re: Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through restAPI?

Jump to solution

Hi Sev,

I think I don't get your intention fully. The easiest way would be to create a Network ressource on the windows Computers that is connected to alfresco. Then they could use your shared drive directly in Windows (and mostly all Windows applications) like a local drive.

You can connect the Network Ressource automatically with the credentials of your shared Alfresco account.

The Connection is possible over WebDav (https://yourserver/alfresco/webdav) or Sharepoint protocol (https://yourserver/alfresco/aos). 

I never tried to provide credentials with the url (like in the old days  https://userSmiley Tongueassword@yourserver/...), maybe it works - but... jjuugg. The other possibility would be to add apache as reverse proxy, configure alfresco with external auth and set the x-alfresco-remote-user header to your shared alfresco account on the desired url-pattern. Could be a security risk.

The best way would be to create a user account for each user...

regards,

Martin