The block table module extension for the visualization comes along with two predefined template. However, it is possible to create your own template or you can change the existing one.
Each template consists of different element blocks.
The blocks of existing templates can be found in library in the sub tree NXA:
You can use these existing blocks as template for your own blocks. Just insert them on an empty visualization page, modify them to your needs and create a new template.
Block table template
A block table template may consist of the following block:
Row: this block represents a single element (a single DALI device or DALI gateway) that can be placed on your visualization page. For each elements, 1 instance of the cell block will be inserted. This block is mandatory.
Header: this block is inserted only once – independent of the amount of elements. For a device template this block can be used to visualize the gateway state.
Footer: this block is inserted only once – independent of the amount of elements.
Create a new template or to use an existing one, select the template assistant.
Afterwards, the template assistant is started.
If you want to modify an existing template, you can select the template in the drop-down list. If you want to create a new one, just enter a name in the list.
Please keep in mind that the existing templates NETx1, NETx2, … may be overwritten after a server update. If you want to change such a template, create a new one and use the existing elements from the library.
For each block, you can choose the following options:
not used / remove: select this option if you do not need the block in your template.
no changes: if you modify an existing template, you can select this option is when you do not want to change this block.
new block: with this option you can select the elements of the block. This is done by clicking at the button … Select the elements that you want to use in the block and do a right-click to change back to the template assistant dialog. The number of selected elements are shown in parenthesis.
After selecting all blocks, you can press the Ok button to save the changes. If existing blocks are overwritten, you must confirm that.
Creating a new template by using a NETx template
As an example, we will create a new template that is based on the template NETx1. For that create a new visualization page and insert the blocks EXCEL_TABLE_NETx1_HEADER, EXCEL_TABLE_NETx1_ROW and EXCEL_TABLE_NETx1_FOOTER into the page. Important is that you always select “Leave variables in block”:
Afterwards, modify your elements that you would like to change. Use block variables as place holders. Keep in mind that the block variables of the ROW element will appear in the Excel file during instantiating the block table. The values for the block variables of the footer and header elements will be request by the wizard.
Then you have to create a new template. Open the template assistant, enter your new template name. If the header or the footer is not required, set the option “Not used / remove” for the corresponding:
Afterwards, click at the … button in the row block row. Select the control elements and do a right-click:
Repeat this for the header block and the pop-up block. You will see the number of selected elements in the parenthesis.
Press Ok to save the template and close the template assistant.