Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Usages

Interface

org.joget.plugin.base.PluginWebSupport

Method Detail

Interface Methods
webService
public void webService(javax.servlet.HttpServletRequest request, javax.servlet.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException

Work similar to a Servlet.

URL Pattern 

{Context Path}/web/json/plugin/{Plugin Class Name}/service

  • Example: http://localhost:8080/jw/web/json/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World

 {Context Path}/web/json/app/{App Id}/{App Version}/plugin/{Plugin Class Name}/service

  • Example: http://localhost:8080/jw/web/json/app/crm/1/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
  • This pattern allowed you to retrieve app definition in your implementation by using this code:
AppDefinition appDef = AppUtil.getCurrentAppDefinition();

Plugin Properties Options

  • Does not support.

Tutorials

  • Not available right now

Related Community Plugins

  • Not available right now