This documentation is for WSO2 Stream Processor 4.3.0. View documentation for the latest release.

All docs This doc
Skip to end of metadata
Go to start of metadata

Editing widgets

In WSO2 Stream Processor, widgets are treated as React components, and they are available as compiled, minified codes. Therefore, the source code of widgets is not human-readable. Due to this, they cannot be edited manually. To edit an existing widget, we need to get the source code, edit it and compiled again. 

Editing widgets by editing the source code is not recommended because all the generated widgets are served by one central code base. Editing this code affects all the widgets, and this may cause errors when updating the product pack via WUM

Deleting widgets

You can delete an existing widget via the following API.

DELETE https://localhost:9643/portal/apis/widgets/{id}

  • No labels