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.
Solved! Go 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-wordfe|u|https://myserver/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx
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-wordfe|u|https://myserver/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx
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... :-)
Seems to work with the 2010 Edition too
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.