Managing widgets

It is possible to create a large number of widgets and libraries to which they belong. You manage your widgets and widget libraries from the Widget editor.

The following instructions assume you have already opened the Widget editor, unless otherwise described.

Searching for a widget

The search tool in the Widget editor only searches in the widget library that is open. Search filters the names of the widgets as you type.

Tip: The search tool in Dev Hub is used to search for mashups, visualization extensions, and widget libraries. It does not find individual widgets.

Back to top

Renaming a widget

Do the following:

  1. In the Widget editor, find the widget you want to rename.

  2. Right-click on the icon of the widget you want to rename, and select Rename.

  3. Enter a name for the widget that is not in use in its widget library and click Rename.

Back to top

Deleting a widget

Do the following:

  1. In the Widget editor, find the widget you want to delete.

  2. Right-click on the icon of the widget you want to rename, and select Delete.

  3. Click Delete to confirm.

Back to top

Copying a widget

You can copy a widget for later editing. You might want to copy a widget from the default widget library and customize it, while keeping the original.

Do the following:

  1. In the Widget editor, find the widget you want to copy.

  2. From the actions menu ¨, select Save as.

  3. Enter a new name for the widget, as well as a widget type (optional). If you wish, add a description. For example, note the name of the widget on which this copy is based. Click Save.

Back to top

Viewing and changing widget information

You can view and edit the information associated with a widget. The information you can change is the sames as in the Create new widget dialog.

Do the following:

  1. In the Widget editor, find the widget whose information you want see or change.

  2. Right-click on the icon of the widget and select Settings.

  3. Change the Name, Widget type, Description, Author, and Dependencies, as required, and click Save.

Custom component dependencies

Back to top

Searching for a widget library

Tip: Whenever you use the Open library command, you can search for a widget library. You can do this from within the Widget editor and from the Welcome dialog, when opening the Widget editor.

Back to top

Create a new widget library

You can create a series of widget libraries. You might want to create widgets for specific purposes, widgets with a particular branding, for example, and keep similar widgets in their own widget library.

You can create a new widget library from the Dev Hub start page and from within the Widget editor.

Do one of the following:

Do the following:

  1. In the Widget editor, from the actions menu ¨, click Create new library.

  2. In Dev Hub, click the Widget editor icon, and from the Welcome dialog, click Create new library.

  3. Enter a new name for the widget, as well as a widget type (optional). If you wish, add a description. For example, note the name of the widget on which this copy is based. Click Save.

Back to top

Moving a widget to a different widget library

You can move a widget to a different widget library. You might want to move a widget from the default widget library, for example.

Do the following:

  1. In the Widget editor, find the widget you want to move to a different library.

  2. Right-click on the icon of the widget you want to rename, and select Move.

  3. In the Move widget? dialog, select the destination from the Widget library drop-down list.

  4. Click Move to move the widget and remain in the library currently open, or:

    Click Move and edit to move the widget and open it for editing in the destination library.

Back to top

Viewing and changing widget library information

You can view and edit the information associated with a widget library. The information you can change is the same as in the Create new widget dialog.

Do the following:

  1. In the Widget libraries section of Dev Hub, right-click on the widget library whose information you want see or change, and click Settings.

  2. You can see the widget library ID, which is unique to each widget library .

  3. Change the Name and Description, as required, and click Save.

    You can also open or export the library from the ¥ icon, and delete it by clicking the trash icon.

Back to top

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?