cancel
Showing results for 
Search instead for 
Did you mean: 

Execute a Custom Action in a Web Script

ruizja
Champ in-the-making
Champ in-the-making
Hi!

   
I have already developed a custom action and I need execute it in a Web Script, i. e., inside the javascript code. Is this possible? I think yes, because there are web scripts with Check Out, Delete, etc. actions. But I have no idea where is the javascript object/method for do it.

Please!! help! Smiley Happy

Thanks a lot,
Javier
3 REPLIES 3

vojko
Champ in-the-making
Champ in-the-making
Here is an example:
http://wiki.alfresco.com/wiki/JavaScript_API#Actions_API

Replace "mail" action with your action and parameters. You can browse SVN source to see how mail action is implemented and configured.

ruizja
Champ in-the-making
Champ in-the-making
Here is an example:
http://wiki.alfresco.com/wiki/JavaScript_API#Actions_API

Replace "mail" action with your action and parameters. You can browse SVN source to see how mail action is implemented and configured.

1000 thanks for you vodko!!!  :d

vojko
Champ in-the-making
Champ in-the-making
Smiley Very Happy