Versions Compared

Key

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

...

The JS files used in the builder. Please refer to Sample Plugins on how to implement this method.

Parameters:

contextPath - the http request context path.

buildNumber - Joget platform build number

getBuilderCSS
public String getBuilderCSS(String contextPath, String buildNumber);

...

The HTML of builder. Please refer to Sample Plugins on how to implement this method.

Parameters:

def - the definition object to edit/load

json - the JSON definition to edit/load

getBuilderResult
public Object getBuilderResult(String json, Map<String, Object> config);

Retrieve the builder end result based on json definition.  Please The end result can be a report PDF/HTML, an API document etc. Please refer to Sample Plugins on how to implement this method.

Parameters:

json - the JSON definition to generate the builder result.

config - the additional configuration/parameters use for generate the result.

Overridable Methods
createNewJSON
public String createNewJSON(String id, String name, String description, BuilderDefinition copyDef);

Used to create the JSON definition of new object

getNameFromJSON
public String getNameFromJSON(String json);

Retrieve name from the JSON definition

getDescriptionFromJSON
public String getDescriptionFromJSON(String json);

Retrieve description from the JSON definition

getCreateNewPageHtml
public String getCreateNewPageHtml();

HTML to add to the create new page

Plugin Properties Options

...