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?
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>
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.