Hi, this can't be done at the moment (well, I can't get it to work), but I think it would be cool.
For example, a switch will have 24, 48 or more ports.
Instead of creating all the items for all the ports, with their triggers and graphs, I want to create a basic template for a switch port, which I can then use to create x number of specific port templates.
The benefit of this is twofold.
1) It saves me a lot of work and
2) allows any change (colour of line in graph or trigger parameter) to be global.
I tried using a macro, {$PORT} (see picture). This works nicely when you create port 1 ({$PORT} = 1).
When you create port no. 2, it complains that key xxxx[{PORT}] already exists, because it doesn't translate the macro in the key. It should see the key as xxxx[2].
For example, a switch will have 24, 48 or more ports.
Instead of creating all the items for all the ports, with their triggers and graphs, I want to create a basic template for a switch port, which I can then use to create x number of specific port templates.
The benefit of this is twofold.
1) It saves me a lot of work and
2) allows any change (colour of line in graph or trigger parameter) to be global.
I tried using a macro, {$PORT} (see picture). This works nicely when you create port 1 ({$PORT} = 1).
When you create port no. 2, it complains that key xxxx[{PORT}] already exists, because it doesn't translate the macro in the key. It should see the key as xxxx[2].

Comment