Periodically sync objects: Controllers, Doors, Access Points to XProtect Access Control

I’m developing a plugin that uses the Access Control plugin template.

I need to sync objects as Controllers, Doors, Access Points every hour. The result should be like clicking button “Refresh Configuration” in XProtect Management.

I’ve been looking at the document and found this method: StartFetchConfiguration()

https://doc.developer.milestonesys.com/html/index.html?base=mipachelp/class_video_o_s_1_1_platform_1_1_access_control_1_1_plugin_1_1_a_c_configuration_manager.html&tree=tree_search.html?search=startfetchconfiguration.

I cannot run the “StartFetchConfiguration()” to sync these objects or to refresh the configuration periodically. Is there any way that we can do it?

Hi Binh, we are already looking into this issue and come back to you with more information after we investigate.

Hello Binh,

The “StartFetchConfiguration” method is something that needs to be implemented by the plugin for retrieving the configuration of the Access Control System. It is called by the Event Server, whenever the configuration is needed (f.ex. by any of the Clients). At the moment it’s not possible to have that done automatically at regular intervals.

The adding of doors and other AC elements are connected with actions by the administrator of the system (at the very least update of the licenses and link cameras to the doors). At this time such regular updating won’t benefit the administrator greatly, as there are still actions required by them.