Custom homepage widgets

There are a number of widgets provided out-of-box to be added to a homepage, but administrators can also create their own widgets.

To create a widget, an administrator must first create a UI page to control its functionality. UI pages are coded in either HTML or Jelly script, and will power the functionality of the widget.

Creating a UI page is outside the scope of this article. However, once the UI page exists, it will be used to render the widget. It is very easy to create a trivial UI page named "my_ui_page" with a single line of text, add it to a homegage, and see how it renders.

After the UI page is scripted, create a widget that renders the UI page and executes its script.