I have a plugin installed under my milestone software. I want to create an instance for it on my management client. Instead of manually opening my management client and navigate to “MIPPlugins” tree node and then clicking on “Add
new” and then providing details and creating one, are there any APIs or methods where I can programatically create one with the needed inputs. I have a requirement when I need to automate the plugin instance creation processIn general you can call Configuration.Instance.SaveItemConfiguration from anywhere (including the Management Client plug-in, Event Server plug-ins or even standalone component integrations) and thereby have the item created.
If you want to restrict the user from manually adding or removing items from the Management Client you can overwrite the IsContextMenuValid method on your ItemManager subclass and make it return false for the operations you want to restrict. Finally, if you want to have only one item always, you can set the itemsAllowed parameter in your ItemNode constructor to ItemsAllowed.One - that will cause the middle tree-view not to be shown.
I tried learning about Configuration.Instance.SaveItemConfiguration from MIPSDK documentation and samples. I could see that we are able to create a new item of the own plugin. In my case , I have a 3rd part plugin installed in my management client , will I be able to create a new instance of that plugin? If yes, how can I find the plugin definition ID
In general we do not recommend creating Items for other plugins unless it is done in collaboration with the vendor of said plugin, as incorrect or lack of data might cause the plugin to malfunction.
