AnsweredAssumed Answered

Register a javascript custom action

Question asked by scouil on Aug 23, 2012
Latest reply on Nov 27, 2012 by akash066
Hello,

I'm trying to register a Javascript action for it to be accessible in javascript (actions.create("myAction") ).
Unfortunately, just dropping the file in Data Dictionnary/Scripts/ just doesn't do it.

For java backed actions it's quite straightforward:

<bean id="…" class="path.to.my.JavaClass" parent="action-executer">
    …….
</bean>
but I can't find a way to register a js file as an action. Be it from alfresco or from the filesystem.

Outcomes