Managing widgets

A widget is a reusable UI component that can be used to build your application. Several built-in widgets are available for use, and you can create your own custom widgets. Those widgets are managed on the Manage Widgets page.

Existing widgets are displayed on two tabs, Shared Widgets and Built-in Widgets.

Creating a widget

Click Create widget to create a new widget. To learn how to create or edit a custom widget, see Creating custom widgets.

Editing a widget

To edit an existing widget, select a widget in the Shared Widgets tab, and click the pencil icon. You cannot edit widgets in the Built-in Widgets tab.

Active column

The widget table shows the Active column, where you can select active widgets. The Active flag is used only for determining what widget icons to show in the widget palette; even if you uncheck the flag for a widget that is in use from existing projects, that will not remove or disable the widget from those projects.

Duplicating a widget

Follow these steps to duplicate a widget:

  1. In the Manage Widgets page, click the three-dot icon for a widget to duplicate. The icon appears at the right side of a table row when you hover over it.
  2. Select Duplicate widget from the drop-down menu.
  3. Specify Name and Id for the duplicated widget.
  4. Click Duplicate.

The duplicated widget appears in the table of the Manage Widgets page.

Some of the built-in widgets, such as Result List, are implemented based on the Custom widget. Custom in the Class column indicates that a widget is made from the Custom widget. You can make a duplicate of such widgets.