Hi,
I've read similar questions about this, but still can not find the right way to do this.
It's actually very simple. I want to define custom Actions for the Actions menu for a host.
I want to be able to disable them, if the config.ipmii is defined (!= null).
I found in the samples that you can add a conditional property to the actionSpec
<conditionalProperty>config.template</conditionalProperty>
The config.template is a boolean, so returns the expected true or false. Easy.
But I want to check if the config.ipmi (Object) is null. I've tried writing the statement:
<conditionalProperty>!config.ipmi<conditionalProperty>
or
<conditionalProperty>config.ipmi!=null</conditionalProperty>
but both are ignored. Can someone please tell me the syntax I must use for this?
Many thanks
Cathy