ExtensionPoints

Enumeration

Extension points allow a widget to run code at certain specific times of the Experience Builder application lifecycle.

To add a extension in a widget, add the extensions in the widget's manifest.json file.

The extension points supported by the Jimu framework are defined here.

Enumeration Members

Enumeration memberValueNotes
AppConfigOperations
"APP_CONFIG_OPERATIONS"

Some widgets may need to know app config changes even when its setting panel is not loaded, such as data source will be removed, map widget will be removed, etc. Widget can define the extensions for this extension point to listen to the changes.

AppConfigProcessor
"APP_CONFIG_PROCESSOR"

This extension point gives widgets a opportunity to run code just after the app config is loaded.

ContextTool
"CONTEXT_TOOL"

This extension point allows the developer to add additional tools to the context toolbar that shows when the widget is selected in the builder interface.

DependencyDefine
"DEPENDENCY_DEFINE"

This extension point is used to include third-party libraries. Usually the dependency property of the widget manifest should be used to load third-party libraries instead of this extension point. This extension point can be used as an alternative in case where the third-party library requires initialization.

ReduxStore
"REDUX_STORE"

A redux-based application has only one store. If a widget needs to use redux to manage its state, it can use the ReduxStore extension to extend the redux store.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.