Configuring the scope of global searches
By default, when Meridian users perform a global search (a search across multiple vaults), the default scope of the search is all of the vaults on the same server as the user’s current vault. This may not be desirable in some cases, such as:
- The user does not have access to all of the vaults.
- The user does not want to search all of the vaults.
- The user wants to also search vaults on different servers.
To save users the time required to specify the vaults that they want to search, the default list of vaults that are shown in the Find dialog when the All vaults option is selected is configurable. This list is configured by way of a .ini file located on a shared network location.
The default vault list file is named AMDefaultVaultList.ini (the file must have this name). This file can be read automatically by the Meridian client applications. The file stores the following information:
- Contexts: The number of context description sections in the file
- For each context:
- The name of the server hosting a vault to be searched.
- The name of the vault to search.
- An operator to apply to the wildcard pattern. Valid operator names are similar to those that can be found in the Condition list of the Find dialog in the Meridian client applications (OP_CONTAINS, OP_STARTSWITH, and so on).
Following is an example AMDefaultVaultList.ini file:
[Global Search]
Contexts=2
[Context1]
’In MyVault on MyServer
Server = MyServer
VaultName = MyVault ’Matches the name shown in Meridian Administrator
[Context2]
’All vaults on OtherServer
Server = OtherServer
VaultName = *
The shared network location of the file is set on each 32-bit client computer in the following Windows registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\Cyco\AutoManager Meridian\CurrentVersion\Client\DefaultVaultListLocation
And on each 64-bit client computer in the following Windows registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cyco\AutoManager Meridian\CurrentVersion\Client\DefaultVaultListLocation
The (string) value of the key should be the path to the folder that contains AMDefaultVaultList.ini including a trailing backslash (\), for example:
E:\Test\
or
\\<Server>\AMConfig\