Custom Action to display information

Showing results for 
Search instead for 
Did you mean: 
Active Member II

Custom Action to display information

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?

1 Reply
Established Member II

Re: Custom Action to display information

Refer this post : 

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>