Infrastructure Map Server ships with a set of widgets that handle many common requirements. Some of these widgets allow for simple customization to adapt them to particular needs.
One example is the Invoke Script widget. This can be used to run JavaScript commands from within a flexible web layout.
The example layout includes an Invoke Script widget that displays a JavaScript alert.
To run the Hello World example, open the flexible web layout in a browser. Click Examples menu Hello World. This displays the alert.