I have an access control plug-in that allows me to add my access elements to a map. This works fine and I can control my doors and view the states dynamically on the map until I either close and reopen the smart client or even switch tabs within the smart client. At this point, the icons from the access control system disappear, never to be seen again (well almost never, I am sure on one occasion I managed to get them to show again some how). Attempting to add the same item to the map again gives an error “Failed to insert element on map” (slightly different to the “The selected element is already on the map” error when you try to add a duplicate to a visible element). The camera icons that I have also added to the map are happy and continue to function, I can add more elements to the map from the access control (just not the ones already added) and these will function as well.
This appears to be the same issue as https://developer.milestonesys.com/s/question/0D50O00003J2HtTSAV/door-icon-disappear-if-i-close-and-open-smart-client?t=1515407104296
Smart Client version 2017 R3 (and also the 2017 R3 hotfix provided to allow me to add input and output elements to the map)
XProtect Express Edition running with a 1 year trial license
I think I’m building my plugin against the 2016 R2 SDK version (Video.OS.Platform.AccessControl dated 13/09/16, 07:52)
but no XProtect files are included in the plugin redistributable (i.e. it is running with the installed version)
Seen on 2 separate machines, one clean VM that has only ever had the 2017 R3 installed on it, the other a physical machine that started life as a 2016 R2, this was removed and the 2017 R3 installed.
Nothing obvious in the logs (MIP or Event)
As an aside, I presume the express version is limited to a single map - how do I delete this map and create another?