04-12-2018 04:35 AM
I stored my file.docx in Shared Files > myfolder. Clicking on the document give me URL:
ALFRESCO/share/page/context/shared/document-details?nodeRef=workspace://SpacesStore/80889ae1-3880-425a-a489-ee7639fc5d53
I found similar question Is it possible to implement edit on Microsoft word file that is available in Alfresco UI through res... but I don't know how to get the URL.
Do I need to install additional stuff like AOS?
=============================================
Edited:
=============================================
To make my question clearer, I made an apps which can upload to Alfresco. I successfully made that. Then all uploaded document are listed in table with features to:
All these are possible because after successfully upload to Alfresco, I keep the nodeRef.
After digging into the source code give by Douglas C. R. Paes, here, I came up with this URL pattern but still no good:
ALFRESCO/share/proxy/alfresco/slingshot/doclib2/node/workspace/SpacesStore/80889ae1-3880-425a-a489-ee7639fc5d53
04-13-2018 05:41 AM
I imagine what you are facing with is exactly what the following addon seems to solve
04-12-2018 05:09 AM
Install AOS and you are able to edit an MS Office file using MS Office installed on the client.
04-12-2018 09:00 AM
Thank you sir. But just want to confirm again. I don't need to open Alfresco document from MS Office (Click File > Open > browser Alfresco directory).
In Alfresco apps, when we hover on a document, this menu appear:
Clicking on it will open our MS Words and allow update. But inspect the menu won't give me the URL.
In the same screenshot I gave, inspecting the "Edit in ONLYOFFICE" give me URL. So the same URL pattern I can call from my web apps.
Now I need URL pattern to "Edit in Microsoft Office". I have the desired document nodeRef. I don't need to browse Alfresco directory.
04-12-2018 11:53 AM
In the thread you have linked Martin Ehe already provided the pattern for the AOS link.
04-12-2018 08:05 PM
His pattern (below) indicate that the document is stored in site. But I store in Shared Files and I don't know the Shared File path
ms-word:ofe|u|https://YOURSERVER/alfresco/aos/Sites/mysite/documentLibrary/mydoc.docx
Explore our Alfresco products with the links below. Use labels to filter content by product module.