04-06-2017 09:38 AM
Hi all,
I would like to create a custom action that displays information on a Dialog box.
I have the action in Java already created and configured to show on share docLib, however I do not know how to move forward from here.
How can I display data returned from the defined action class after the action is invoked.
So far I am able to click the button and print data in the logs, but how can I display it for the user?
04-07-2017 07:35 AM
Refer this post : https://community.alfresco.com/message/812541-re-how-to-create-custom-action-disable-download-docume...
In the share-config-custom.xml file, you need to link your custom action and the javascript function, something linke below.
<action id="disable-download" type="javascript" label="actions.disable-download">
<param name="function">onDisableDownload</param>
<evaluator negate="true">evaluator.doclib.isDisableDownloadEvaluator</evaluator>
</action>
Explore our Alfresco products with the links below. Use labels to filter content by product module.