Maintain custom Locator Searches post Spectrum upgrade

book

Article ID: 196908

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

After upgrading from Spectrum version 10.2 to 10.4.1 we saw that all our custom locater searches were lost.
How can we ensure in future upgrade activities that searches we created remain or if lost can be recovered?

Environment

Release : All

Component : Spectrum Core / SpectroSERVER

Resolution

All supported customisations done following a documented manner are copied to the custom directory, which is never touched on upgrade, so do not get overwritten. If you upgraded and migrated to a new server, all you need to do is copy across the entire custom folder to the new server and you will have all you supported customizations in place.

Locator searches specifically are saved to

Spectrum\custom\console\config\*****.xml

e.g. I created a new custom search, which i then find as follows:

C:\win32app\Spectrum\custom\console\config\search-5f312513-0216-1000-1fab-0a4a89350000.xml

The content matches the search I just created.

<search-criteria>
  <filtered-models>
    <equals>
      <attribute id="0x1000a">
        <value>3</value>
      </attribute>
    </equals>
  </filtered-models>
</search-criteria>