AnsweredAssumed Answered

Using Alfresco Share javascript functions from Aikau

Question asked by daforce93 on Jun 20, 2016
Latest reply on Sep 15, 2016 by ddraper
Hi everyone,

This question is more about Aikau than Share, but there wasn't a dedicated Aikau forum (that I could see), so I figured this would be the best place to post this question.

Anyway, in my local Alfresco Share installation, there's an action for MS Word, PowerPoint, and Excel documents, called "Edit Online". Here's a screenshot of what I'm talking about:


Clicking on "edit online" causes MS Word to open. As far as I can tell, this is done by making the browser open a link of the following form:

ms-word:ofe%7Cu%7C Link to document

I'm trying to replicate this action in Aikau. I installed and set-up Aikau according to the tutorial on Github ( There's a javascript file in Alfresco installation/tomcat/webapps/share/components/documentlibrary called actions.js, and I'm pretty sure that the function called onActionEditOnline is what causes MS Word/Powerpoint/Excel to launch.

Additionally, if I open up a Javascript console while in Share, there's a function with the path "Alfresco.doclib.Actions.prototype.onActionEditOnline":


I think this is the function from actions.js

However, when I open a Javascript console from Aikau, there is no such function. However, there is an "Alfresco" object, albeit with only two properties:


Is there a way to use this javascript function, located in actions.js, from Aikau?