Camera item(FQID) validation

Hi,

In Plugin can we validate the camera item(FQID), ie it is still valid and available in recording server, so we can connect or take further action

The easiest way would be to do a Configuration.Instance.GetItem(FQID) and validate that you get an Item (and not null) back.

we are using MessageId.Server.ConfigurationChangedIndication for change in management setting, like when we delete the camera , upon saving the plugin from management, we are getting the event, but upon event when we validate, its not providing null

Where are your plugin running?

If you are running in the Smart Client it will unfortunately not update its configuration until re-login, which also means that the updated configuration is not updated for plugins. You can try send the message SmartClient.ReloadConfigurationCommand, but be careful about not doing it too often.

If you are running in the Event Server you should instead set EnvironmentManager.Instance.EnableConfigurationChangedService = true and

listen for System.SystemConfigurationChangedIndication. This message will, however, be sent quite often, so be careful about not reloading everything each and every time as it can affect performance quite a bit.