Can someone tell me where XML file is located that controls the list display columns for the Locator, Contents, Results list view. I need to add a column to the view.
I use the table-searchresults-config.xml to add custom columns to the Locator Search Results. As a best practice, you do not want to modify the default file located in $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config directory. Instead you want to create a table-searchresults-config.xml in $SPECROOT/custom/topo/config. This will preserve your custom columns during an upgrade of Spectrum.
<?xml version="1.0" encoding="UTF-8"?><!--Adding custom columns to the Locator Search Results table to display Global Collection memberships and Security String settings-->
<table id="table-searchresults-config" idref="table-searchresults-config"> <column-list>
<column idref="column-securitystring-config"> <hidden-by-default>false</hidden-by-default> </column>
<column> <name>Global Collection</name> <content> <attribute>0x12adb</attribute> </content> <hidden-by-default>true</hidden-by-default> </column> </column-list>
I believe you can also use the table-model-config.xml, which is used for the Topology List Tab, since the two are linked.
Retrieving data ...