...
- Custom Builder Plugin is used for extends to extend the builder feature in addition to the default form, list, userview & process builder.
- Custom Builder Plugin let app designer build extra definition which auto handles the load/store/merge/export/import by the platform.
- A useable usable Custom Builder Plugin must extend org.joget.apps.app.model.CustomBuilderAbstract abstract class.
...
Custom Builder Javascript Object
English |
---|
Utility methods and fields to use in the builder javascript. |
Fields
appId
The app id of current editing
...
CustomBuilder.uuid()
To generate uuid.
Create Custom Plugin Interface/Abstract Class for Custom Builder
- Create a maven project contains only plugin interface, abstract class and APIs. This maven project will share with other developers who want to extend the feature of a custom builder.
- Include the maven project as a dependency of the custom builder project.
Modify the custom builder project POM file to adding the package of plugin interface, abstract class and APIs to the <Export-Package>.
Code Block language java <Export-Package>org.joget.pbuilder,org.joget.pbuilder.api.*</Export-Package>
Register the plugin interface and abstract class in Activator class
Code Block language java PluginManager.registerCustomPluginInterface(new CustomPluginInterface(PageWidget.class, "pageBuilder.pageWidget", PageBuilder.MESSAGE_PATH));
Sample Plugins
- Page Buider - page_builder.zip
...