After adding a custom asset attribute to the "Asset Information" subview in OneClick, the field displays a technical error prefix instead of the expected value: CsOIDValueList (class java.lang.String) 1: 1 ==> followed by the value.
In the $SPECROOT/custom/topo/config/asset-info-subview-config.xml file we added the following:
<?xml version="1.0" encoding="utf-8"?>
<field-subview idref="asset-info-subview-config">
<field-column>
<column idref="column-userasset-DELL-ServiceTAG-config"></column>
</field-column>
</field-subview>
And created the $SPECROOT/custom/topo/config/column-userasset-DELL-ServiceTAG-config.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<column id="column-userasset-DELL-ServiceTAG-config"
xmlns ="http://www.aprisma.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.aprisma.com
../../common/schema/column-config.xsd">
<name>DELL-ServiceTAG</name>
<content>
<attribute>0x11645fe</attribute>
</content>
</column>
DX NetOps Spectrum: Any version
This typically occurs when following the procedure in to add attributes that are part of an SNMP table (List attributes), such as the Dell Service Tag (0x11645fe).
The attribute being queried is a List attribute, meaning it contains multiple instances or is part of a table structure. By default, the OneClick subview does not know how to render this complex data type, so it outputs the raw Java object class and index.
To suppress the technical prefix and display only the clean underlying value, you must apply the ObjectIDValueListRenderer to the attribute in your custom column configuration file.
$SPECROOT/custom/topo/config/column-userasset-DELL-ServiceTAG-config.xml).<renderer> tag within the <content> section: