08-23-2012 06:44 AM
<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.
08-23-2012 02:22 PM
08-24-2012 04:03 AM
<bean id="my-script-action" parent="script">
<property name="scriptLocation">
<bean class="org.alfresco.repo.jscript.ClasspathScriptLocation">
<constructor-arg>
<value>alfresco/extension/scripts/my-script.js</value>
</constructor-arg>
</bean>
</property>
</bean>
11-22-2012 09:01 AM
11-26-2012 02:50 PM
11-27-2012 01:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.