cancel
Showing results for 
Search instead for 
Did you mean: 

Launch action pdf-toolkit on javascript

jeremiebal
Confirmed Champ
Confirmed Champ
Hi all

I have installed the module "PDF-Toolkit" on my Alfresco :

https://github.com/ntmcminn/alfresco-pdf-toolkit

I would like to launch the action "pdf-signature" in a javascript code.
There is an example for the action "pdf-watermark" but i don't find at all an example or guide to launch others actions :

https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwjVvu2t1-_MAhVDQJoKHfpoCC8Q...


Someone can help me please ?

Thanks a lot
1 REPLY 1

douglascrp
World-Class Innovator
World-Class Innovator
That one is old.
You should donwload te source code and try to identify the parameters used now.
The way you use it is almost the same, but you have to provide all the requirement parameters.
I guess by looking at the share config files you will find all the parameters configured to the action, then you will have to "translate" them to the format the action needs them.

I don't have samples for the signature action, but I do have some for split and merge.
If you want, I can send some pieces of code to you.