I am trying to create the example java application found here

I am trying to create the example java application found here forum.appian.com/.../Appian_Plug-in_Creator_for_Eclipse
I have gone through all the code creation points and done the "Export Plug-in Package" then I copied this jar to my \\appian\\_admin\\plugins directory, however whenever I go into the Rules Tab and try to Create an Expression Rule, I am not seeing the plugin I created in the Expression Editor nor am I sure how to call it for testing....

OriginalPostID-114958

OriginalPostID-114958

  Discussion posts and replies are publicly visible

  • Ok...so after adding the line to custom.properties I was able to see the functions...then I removed the reference but didnt realize that I needed to comment out the BASE_PATH line and that caused them not to work...once I realized I needed to comment out the line I did that restarted everything and the functions came back...I am not sure really what fixed things...was it adding the pluginDirectory line? Or was it commenting out the BASE_PATH line that fixed things?
  • Here's what is happening:

    1. BASE_PATH controls the location of the _admin folder. If you modify it then it means your plug-ins will now have to be deployed in that location. For instance, assume I have

    conf.suite.BASE_PATH=//mysharedfolder/_admin

    that means that plug-ins will no longer be polled from C:\\appian\\_admin\\plugins but from \\\\mysharedfolder\\_admin\\plugins

    2. When you used the conf.plugins.pluginDirectory you basically overrode the usage of BASE_PATH within the plug-ins poller.

    3. In summary, to solve this problem:


    APPROACH #1
    --> 3.1 Simply remove this setting conf.plugins.pluginDirectory
    --> 3.2 Comment out conf.suite.BASE_PATH
    --> 3.3 Deploy the plug-ins under <APPIAN_HOME>\\_admin\\plugins
    --> 3.4 Restart the app server

    APPROACH #1
    --> 3.1 Simply remove this setting conf.plugins.pluginDirectory
    --> 3.2 Configure and uncomment (as desired) conf.suite.BASE_PATH
    --> 3.3 Deploy the plug-ins under the location specified by BASE_PATH inside the plugins directory
    --> 3.4 Restart the app server