Versions Compared

Key

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

...

Code Block
languagejs
linenumberstrue
[
    {
        "title" : "@@plugin.multistorebinder.config@@",
        "properties" : [
            {
                "name" : "binders",
                "label" : "@@plugin.multistorebinder.storeBinder@@",
                "type" : "elementmultiselect",
                "options_ajax" : "[CONTEXT_PATH]/web/property/json/getElements?classname=org.joget.apps.form.model.FormStoreBinder&exclude=org.joget.sample.MultiStoreBinder",
                "url" : "[CONTEXT_PATH]/web/property/json[APP_PATH]/getPropertyOptions",
                "default_property_values_url" : "[CONTEXT_PATH]/web/property/json[APP_PATH]/getDefaultProperties",
                "required" : "true"
            },{
                "name" : "comment",
                "label" : "@@plugin.multistorebinder.comment@@",
                "type" : "codeeditor"
            }
        ]
    }
]

Same as JDBC Options Binderas Multi Tool plugin, we will need to add a test connection button for custom JDBC setting. Please refer to How to develop a JDBC Options Binder on the Web Service Plugin implementation.a multi selector to list the available store binders excluding the multi store binder. Refer to Plugin Properties Options#MultiselectinGridInterface(New)

Once we are done with the properties option to collect input and the web service to test the connection, we can work on the main method of the plugin which is store method.

...