1
0
-1

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

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      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.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        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 

          CommentAdd your comment...
        1.  
          1
          0
          -1

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

            CommentAdd your comment...