External calls to AOS

cancel
Showing results for 
Search instead for 
Did you mean: 
gluck113
Established Member

External calls to AOS

Jump to solution

Hello community, 

I have a question concerning external calls to AOS (Alfresco Office Services). By external calls I mean a business application that uses Alfresco as a purely backend repository, would like to be able to have an equivalent to "Online Editing" directly accesible in it.

I tried copying the url from AOS into a browser, but it simply downloads the document and it looses all connection with the repository (like off-line editing). 

https://serverURL/alfresco/aos/Sites/testSiteYY/documentLibrary/XXXXdocx?web=1 

Does anybody know if there is an URL that opens the corresponding Office Application with the wanted document and keeps the connection with the repository ?

Does anybody have any leads to how AOS does that?

Thanks.

1 Solution

Accepted Solutions
mehe
Senior Member II

Re: External calls to AOS

Jump to solution

You have just to build the MS URI schemes: Office URI Schemes 

If you peek with the browser developer tools, you can see the uri in the network tab.

Opening (for edit) mydoc.docx from site mysite on my server would be something like

ms-wordSmiley Surprisedfe|u|https://myserver/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx

View solution in original post

4 Replies
mehe
Senior Member II

Re: External calls to AOS

Jump to solution

You have just to build the MS URI schemes: Office URI Schemes 

If you peek with the browser developer tools, you can see the uri in the network tab.

Opening (for edit) mydoc.docx from site mysite on my server would be something like

ms-wordSmiley Surprisedfe|u|https://myserver/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx

gluck113
Established Member

Re: External calls to AOS

Jump to solution

Thanks I found that information also shortly afterwords and your example works.

So this solution works for Office 2012 SP2 to 2016 (at least).

Since Microsoft has been known to change this protocol quite frequently  we will see in futur.

I'll attach here the Microsoft description as PDF just in case... :-)

mehe
Senior Member II

Re: External calls to AOS

Jump to solution

Seems to work with the 2010 Edition tooSmiley Happy


cesarista
Customer

Re: External calls to AOS

Jump to solution

Hi Martin Ehe

This is very nice, and conceptually similar to the online edition with Libreoffice registering webdav protocol.

Home · zylklab/alfresco-share-online-edition-addon Wiki · GitHub 

Regards.

--C.