06-27-2017 11:46 AM
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.
06-27-2017 12:28 PM
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
06-27-2017 12:28 PM
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
06-28-2017 03:16 AM
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... 🙂
06-28-2017 08:55 AM
Seems to work with the 2010 Edition too
06-29-2017 03:04 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.