Plugin upload

Confluence User - 17 Feb, 2016

Hello,

Here's another one. I am able to successfully create and build a sample plugin but for some reason it is not available in the list of plugins (Manage Plugins).

What have I tried so far:

  1. Add the jar file directly to wflow/app_plugins directory and reload
  2. Upload the jar file from this as well as from a different directory

I also restarted not only Joget (using enterprise edition) but the entire machine and still no result - the plugin is simply not showing in the list of plugins.

I did not have any issues with uploading and accessing the sample download_pdf_datalist_action plugin so I would like to ask if there's anyone else out there, who's having troubles with adding own plugins?

Many thanks,

Kasia

plugins

3


18 Feb, 2016
confluenceUser
confluenceUser

Please share us with server log files of the relevant section about plugin uploading so that we can try to check on it.

Since you mentioned the PDF Datalist plugin, maybe you can check on http://dev.joget.org/community/display/KBv5/How+to+develop+a+Download+PDF+Datalist+Action to understand more on how it is developed for your reference.

Thanks.

18 Feb, 2016
confluenceUser
confluenceUser

Maybe you forget to register your plugin in your source code of Activator.java

18 Feb, 2016
confluenceUser
confluenceUser

Hi Hugo,

I followed this link already to build my plugin. Your suggestion to check the server logs was really helpful - turned out that I had dependency declared for the wrong artifact in the javax.servlet package in pom.xml: javax.servlet-api instead of jsp-api.

After rectifying that it works straight away.

(Just a note that NetBeans compile the project with warnings if the <properties>.json file is badly formatted like in the pdf plugin example).

 

Thanks 

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print