Building Search agents

The SCSearchAgent plug-in contains two search agents:

The sample Search agents do not actuallly search, but demonstrate how to develop and integrate 3rd-party Search agents into the Smart Client. The results generated by these Search agents are not real search results and some of the Search filters do no actual filtering.

Search agent

The sample demonstrates

Using

Environment

Notes

For more details about this sample, please refer to the introduction MIP Search integration - Building Search agents.

For XProtect VMS 2019 R3 or later, support for Search plug-ins requires an XProtect Expert or XProtect Corporate license.

In the Smart Client 2019 R2, the Search workspace is hidden by default. To display the Search workspace, you need to add a registry key HKEY_CURRENT_USER\Software\Milestone\Surveillance\SmartClient. You can use this registry script:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Milestone\Surveillance\SmartClient]
"EnableSearch"=dword:00000001

Visual Studio C# project

Deploying

To deploy the sample Search agent:

  1. Copy these files from project build output plugin.def and SCSearchAgent.dll (and SCSearchAgent.pdb if debugging) to %ProgramFiles%\Milestone\MIPPlugins\SCSearchAgent\
  2. Restart the Smart Client