12d Synergy ships with many dashboard gadgets already available, which can bring quick at a glance meaning to your Jobs.

You can also use server side scripting to create your own gadgets and make them available to your administrators and job creators.

This is achieved by overriding the SynergyServerScripting.Gadgets.Gadget class

You must override the following methods:

  • Generate - which generates the HTML. If you want to return an image, then return it as a base64 encoded image.
  • GetInfo - provides niformation about the gadget, which is used when users pick it from the UI
  • GetScriptInputs - any inputs that can be configured

You can also set categories for the UI and define default widths and heights. See the class details for Gadget for more information.