Customizing CM Search


The CM Quick Search tool is set up by default to search for the most commonly requested data of the device population. It is however possible to customize the search to include other database columns and tables to search for more specific data.

Note:

To customize the search you need to have an excellent understanding of the BCM database and its data as well as of xml.

The search is based on indexes which must already exist and be regularly updated. The information which database tables and columns to search is defined in the ampdb.xml file, which can be extended for more specific searches.

The ampdb.xml file is divided into the following parts:

  • db:schema
     This section lists all database tables and columns that are currently used by the search functionality.
  • ix:schema
     The index section provides the corresponding indexes.

Both these section must be adapted when customizing the search sources.

Note:

Before you start customizing make sure to find the correct tables and columns that contain the data you want to search for.

Also, you need to be aware that you can only tables which conform to the following requirements can be used for search operations:

The table must have a column directly referencing the device ID.
For each device ID only one single row exists in the table.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*