Adding a button to a window
You can add custom buttons to a window, for example, you may want to have a button that, when clicked, could send an e-mail. To do this, a custom runtime handler (also known as a plugin) needs to be written.
Runtime handlers control the workings of Service Desk and Asset Manager, and by default, they are hidden from view. To enable an experienced designer to be able to add buttons and configure specific items that appear on windows, you can add two lines to the Console.exe.config file. After you have added these lines, you need to restart console.
They are:
<add key="ShowHandlerConfiguration" value="true" />
<add key="ConfigureHandlers" value="true" />
To add a button to a window:
- In the Window Manager, open the required window.
- Expand Controls tree.
- Add Button to your window, and position it and resize it as required.
- Expand the Properties grid.
- Alongside the Handlers property, click
.
A dialog appears. - Select the required handler, then click OK.
- Alongside the Text property, type the text that you want to appear on the button.
- Save the changes you have made.