Hello World widgets
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Service Portal Designer
The Hello World widgets are included with Service Portal as examples of how to use and create widgets. You can use this base system widget as-is in your portal or clone it to suit your own business needs.
All three Hello World widgets display the same way. The real difference between them is in their underlying code base. Each version of the widget uses a different method of using the server and client script.
To view the Hello World widgets, navigate to Widget Editor. In the Widget Editor, click Check out the Hello World Example.
then click
Hello world 1 displays how the HTML template and the client script communicate. For more information on using the client script in Service Portal, see Developing custom widgets.
Use the widget list to switch to Hello World 2 or 3.

Hello World 2 includes an example of how the server script can be used as well.

For more information on Service Portal APIs, see the GlideSPSriptable API.
Related Content
- Create and edit a page using the Service Portal Designer
Create or edit a page and use layouts to organize the columns that house the widgets.
- Configure widget instances
Create unique instances of widgets by configuring the options for each instance.
- Clone a widget
Take advantage of existing code by cloning and editing an existing widget.