Hello! I need a way to create new alarm types in Corporate Alarm Definitions. I need new category with new subtypes that select custom items (not cameras or standard Milestone items). Any ideas?
Eric, I have received confirmation from our Principal SDK Developer that this is possible. But I need to drill down to the right code example. Will get back, /T
The AccessControl plugin sample shows this. (The old AccessControl sample that does not use the new Access Control framework. Aka -Access Control (MIP SDK v. 2.0))
Hi Bo,
Could you please send me the DOTnet solution that contains the example please?
I don’t really want to overwrite my latest MIP SDK
Thanks
I have
General tip: It is possible to extract the MIP SDK Installer without actually installing the MIP SDK..
Progress!
I now have new categories available in the alarm definitions but there are no selectable items yet.
The demo does not show any items either, do I have to manually add them? - Where?
Correct, you need to add items in the Management Client (/Appllication).
Visit the MIP Documentation - Plug-in Integration Sample -
Access Control for a thorough and more comprehenisve explanation of the sample and how to use it.
I am getting close…
Just can’t create items, I get the following exception when trying to create the item, specifically when calling
--Configuration.Instance.SaveItemConfiguration(Guid, Item);
Do you have any info on this please?
Init System.NotImplementedException: Method or function is not implemented.
à VideoOS.Event.Server.MIP.Environment.ESConfiguration.SaveItemConfiguration(Guid pluginDefinitionId, Item item)
à CommunityToolbox.Admin.CommunityToolboxItemManager.CreateItem(Item parentItem, FQID suggestedFQID)
à CommunityToolbox.CommunityToolbox.Init()
Ok, I changed the way I create the items. New Problem: I can see the item in the rules system but NOT in the alarm definition. Help?
Also, the image I use for the icon does not appear…
Testing with XProtect Corporate 2016 and the Aceess Control (MIPSDK2.0) sample.
I can create controllers and doors and save.
Making a rule I see 6 events
E.g. I can make a rule like
Perform an action on Door Open (MIPSDK Access Control)
_from door1_
Create log entry: ‘Door open event’
I can also make an alarm definition
Triggering event: MIPSDK Access Control - Door Open - door1
(Generally if you make a new event, you must restart (or reload) the Management Client in order to see the events when you make alarm definitions, can this explain what you see?)
I can also make a map and put my controller and door (with correct images) in the map (in the toolbox they are under the jigsaw puzzle).
The issues you see are not general. Do you have the issue with the plugin sample unmodified? If not, you will have to track down what you changed or did differently.
Yes, it is unchanged. Where do you create the doors and controllers?
In the Management Client
Erm.. Could you be more specific please? I don’t see anything in there..
Should it be under the MIP plugins tab all the way at the bottom?
Yes. Please see the MIP Documentation - Plug-in Integration Sample - Access Control, there are pictures what you should see.
Troubleshoot idea; is the plugin loaded in the Management Client at all?
Hehe Woups… I installed it under event server instead of in the MIPplugins folder *shame* thanks Bo!
I can now save items and trigger alarms but I still have one major problem: I can only create items from the management client. I have tried different ways to create and save the items programatically but none have worked. Is this even possible?