we are using the AC plugin which was developed according to the DemoAccessControlPlugin sample, the plugin is working correctly but the plugin is not presented on the about screens of the management client and the smart client.
here are the definitions:
internal class MilestoneACPlugin : ACPlugin
{
public override Guid Id
{
get { return new Guid("B392BD2A-C02C-46AB-BD7E-1A363E4D2D19"); }
}
public override string Name
{
get { return "AxTraxPro™ Integration for Milestone XProtect® VMS"; }
}
public class MilestoneACPluginDefinition : ACPluginDefinition
{
private List<ACPlugin> _accessControlPlugins = new List<ACPlugin>();
public override Guid Id
{
get { return new Guid("9B1DA9B8-5922-4346-AB98-9ABD4CE46D77"); }
}
public override string Name
{
get { return "AxTraxPro™ Integration for Milestone XProtect® VMS"; }
}
public override string Manufacturer
{
get { return "Rosslare Enterprises Ltd"; }
}
I will be happy to get any direction why the plugin is not shown on the about screen
Access Control Module plugins do not load in the Smart Client or Management Client. This type of plugin only loads in the Event Server. Milestone have then built-in the functionality that makes this work in the clients while communicating with the Event Server.
You can see the plugin load in the Event Server, put even there it is not mentioned the same way as ordinary MIP plugins.
As an example you will see this in the Event Server logs if you deploy the Demo Access Control plugin:
-
2024-01-29 15:58:18.446+01:00 [ 11] INFO - ESEnvironmentManager Access Control plugin loaded: Demo Access Control Plug-in v2.0 - Sample Manufacturer
-
https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/demoaccesscontrolplugin/readme.html&tree=tree_search.html?search=acplugin
You find more information under “Access Control overview” in the left hand pane here:
https://doc.developer.milestonesys.com/html/index.html?base=content_1.html&tree=tree_1.html
Thank you for your reply.
the plugin is loaded and works OK, the only issue is that the name is not shown in the About screen. and loaded in the log:
-
2024-01-30 8:20:08 AM UTC+02:00 Info ESEnvironmentManager Access Control plugin loaded: AxTraxPro Integration for Milestone XProtect VMS v1.0 - Rosslare Enterprise LTD
-
This is expected behavior. The AC plugin does not load in the clients and cannot show in the about boxes of the clients. Thank you for the screenshot, it is very clear that it does not show.
Thank you, this is clear now.