Implementing List Header Checkboxes in Altio
Here’s a little tutorial on how to set up a checkbox in the header of an Altio list. The minimum requirements to complete this tutorial should only be that you have an Altio server instance installed, preferably version 5.1 or later. Why not take this opportunity to try out the 5.2 version?
Step one is to install an application featuring an Altio list configured to display checkboxes. Download this application package for an example:
To install an Altio archive file place it in the deploy directory of your Altio installation : <Altio_Install>/WEB-INF/classes/deploy.
For example:
/home/tomm/AltioInstalls/AltioLiveStudio5.2Enterprise/tomcat/webapps/altio52/WEB-INF/classes/deploy
or
C:\Program Files\AltioLiveStudio5.2Enterprise\tomcat\webapps\altio52\WEB-INF\classes\deploy
This simple application allows you to “design” a title header for a website or application by choosing which images to include in the background of the header. It may be contrived and somewhat limited but it will still serve as a good example as you achieve all of this by clicking check boxes in a list.

So let’s start by adding a header checkbox to the list in the application. Open the tutorial’s view file in designer and select the VISIBLE column in the list (expand Windows->WINDOW->LIST in the View Explorer and click on VISIBLE). In the Properties window expand the Appearance group and change the “Show Checkbox in Header” property to “Y”.
If you save your app and run it you should find that a check box has appeared in the header of the checkbox column. If you click on it to alter it’s value though, you’ll also find that is has no effect. This is because Altio has no default behaviour for this checkbox; we need to add some application logic to edit the underlying data ourselves.

The list control has a “Header Check Box Toggled” event fired whenever the user clicks on one. Click on the list and then select the “Events” tab in the Properties window. We’ll add a “Set Attribute Value” action to change the value of the list’s data according to the user’s setting in the header checkbox. Click on the “Header CheckBox Toggled” event in the tree view and find the “Set attribute value” action in the list below. Double click it to add the action to the event trigger.

Click on the parameters tab and enter the following parameters. You can copy and paste them or build them up using the data builder.
- Element : /IMAGE
- Attribute : @VISIBLE
- Value : ${LIST/VISIBLE.headerchecked}
This means for every IMAGE element, set it’s VISIBLE parameter to whatever the user has set the value of the header checkbox to. And because the action has been placed under the “Header Checkbox Toggled” event it will run every time the user clicks the checkbox. Save the application and run it again and you should find the checkbox now works as you’d expect.

