I’m currently developing a Plugin and I want to use a parameter that will be different for each smart client.
So I use SettingsPanelControl to store it. This control is available in the smart client with “Parameters” menu. When I launch the Smartclient on the server, I can see in the left side of the window the name of my plugin and in the right side the parameter. But when I launch it from another machine, the plugin doesn’t appear !!!
I don’t understand why ?
Thanks for your help.
You need to distribute your plugin to each client machine yourself. Are you sure the plugin is available in the MIPPlugins folder on the client machine? And if this is the case please check the user rights for the dll and def files.
Hello,
Thank you fot the answer : so it is working well.
But I’m surprised that when I change a parameter in the SettingsPanelControl with a Smart client 1, the value is also changed for a smart client 2.
It appears that the SettingsPanelControl parameters are the same for all Smart Clients.
I need to store a parameter for each Smart client.
For example, Smart client 1 will have value=1 and Smart client 2 will have value = 2.
Where can I store this kind of value ?
Thanks
Unfortunately we only support storing settings either globally (for everyone) or personally (for current user), but not ‘per application’. So to achieve that you will have to store it yourself locally, e.g. to a file on disk.
ok. So if I want to store settings for current user where can I store them ?
Cdt
VideoOS.Platform.Configuration.Instance.SaveOptionsConfiguration takes a userPrivate parameter - setting that to true will make the setting stored for that user only.
You can see it used in the Property plugin sample.