Is there a way to set a unique property to each smart client?

Hey,

I want to set a unique property for each smart client instance and to eventually get this property in the event server.

for example,

I would like to set two smart client with a “SourceId” property, and when a Right-click on an item (command from the MapAlarmContextMenu),

send the specific Command to the corresponding ItemManager Receiver with the “SourceId” Smart Client unique identifier.

I found this post suggesting the “Property” sample :

https://developer.milestonesys.com/s/question/0D50O00004xnx5E/how-to-get-the-settings-made-in-settingspanelplugin-area-in-backgroundplugin

but all properties in this example were overriding the same value When used the GetOptionsConfiguration ,I get the same property value in both SmartClient instance (from two different servers).

tried private and shared.

So is there a way to identify the source smart client instance which did triggered the Command for the Event server?

Thank you.

Or

You can only save properties in two ways: Global or user specific. The Property sample is a testament to this.

I have an idea that you could save your property global but inject some information there so that you can identify the Smart Client.

Your global property could look like: “Client#1-PropertyA, Client#2-PropertyB”.

I hope my idea will prove useful for you.

yes, this was our first idea, to globalize a set of properties based on the machine IP or some other unique property and fetch this using “Property_{IPAddress}” for example is a diffrent DB / EnviromentVariable.

but this solution doesnt help for the other way around,

when Right-Clicking an Item from the map and choose the MapContrextCommend, this would received in the Item listener in the EventServer Instance,

when the :

“private object TriggerReceiver(VideoOS.Platform.Messaging.Message message, FQID dest, FQID sender)”

is being called there is no prop being sent to the method that tells us from which SC it has been called.

is there some other properties\method to override in order to achieve this goal?

or maybe the method that is called in the SC side before forwarded to EventServer Side?

Thank you so much.

Or

It is not possible to identify the clients, unfortunately.

Please see also https://developer.milestonesys.com/s/question/0D53X00006VSaUKSA1/sensormap-integration

We have a wish list for developing functionality to pass extra information with the command. Currently there is no concrete plans.

Thank you for your reply, in that matter,

is it possible to attach a camera to a different kind of item and by doing so , to enable the Right-Click “Live Preview” on any Map Item that is not a cameraItem?

maybe by adding some manual properties to this Item?

Thank you

No, it is not possible to do so, unfortunately.