Skip to end of metadata
Go to start of metadata

Creating a custom widget from scratch requires you to write JavaScript code to perform the following steps:

  • Add a base widget using the pui.widgets.add() API
  • Add the necessary custom properties using the pui.addCustomProperty() API
  • Add an entry to the Widgets Toolbox using the pui.toolbox.add() API

For more information on these API functions, refer to the Widgets Development API section of the documentation.

All JavaScript code should be saved into an external file that is placed in the /www/profoundui/htdocs/profoundui/userdata/custom/widgets IFS directory.

Example:

The following example creates a custom Google Maps widget.

Labels
  • No labels