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 restAPI? 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:
- Download (success)
- Delete (success)
- Edit in OnlyOffice (success)
- Edit in MS Office (stuck) <<< my problem is here
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