Hi Dojo
I would like to visualize a status of a column in a protocol.
<Measurement>
<Type>string</Type>
<Discreets>
<Discreet iconRef="geoWorld">
<Value>WW</Value>
<Display>WW</Display>
</Discreet>
<Discreet iconRef="geoAustria">
<Value>AUT</Value>
<Display>AUT</Display>
</Discreet>
<Discreet iconRef="geoProtected">
<Value>PROTECTED</Value>
<Display>PROTECTED</Display>
</Discreet>
</Discreets>
</Measurement>
This works fine with iconRef defined in the /Protocols/Icons.xml
I would like to use custom icons instead of the predefined DataMiner icons.
I followed Icons | DataMiner Docs to configure DataMiner.
So I added my icons as 16x16 png in C:\Skyline DataMiner\Icon\Refs and created a
C:\Skyline DataMiner\Icons\CustomIcons.xml :
<Icons>
<Icon key="geoAustria" ref="austria.png" theme="light" />
<Icon key="geoProtected" ref="protected.png" theme="light" />
<Icon key="geoWorld" ref="world.png" theme="light" />
</Icons>
Unfortunately I still see just the string in the column instead of the png.
Did I missed something, is there any log that could help to point me to the missing link our my mistake?
Do you have an other idea how to accomplish a user defined image showing the status of a column?
(Yes, I implemented a Dashboard showing that in a correct manner)
Thanks a lot Laurens
What I have already is, that the Element is marked with the first IconRef in IconSelectionRules.xml:
I would like to show the Icons in a table, depending on the status of the column, like this:
Maybe my IconSelectionRules.xml needs more information.
Currently this is the content:
<Rules>
<SelectIcon type="element" key="geoAustria">
<When>
<Field type="protocol" value="Origin-Blackout"/>
</When>
</SelectIcon>
<SelectIcon type="element" key="geoWorld">
<When>
<Field type="protocol" value="Origin-Blackout"/>
</When>
</SelectIcon>
<SelectIcon type="element" key="geoProtected">
<When>
<Field type="protocol" value="Origin-Blackout"/>
</When>
</SelectIcon>
</Rules>
As mentioned in my initial question, the Param in the protocol references the icons, but it seems, that DataMiner cannot find them.
As stated already DataMiner default-icons are working fine.
I appreciate your support
Hi,
Was there an IconSelectionRules.xml created? The help seems to be indicating that such file is needed. E.g. add a rule with SelectIcon type="element" key="geoAustria" and When Field type="protocol" value="nameOfYourProtocol".
A DMA restart is required to apply the changes.
Regards,