Mip Plugin Configuration tree in the management Client

Hi,

we are developing a MIP Plugin the requires a tree structure for the plugin configuration.

in the site tree under the mip plugin section, i can see the full configuration tree

i can see all the tree child’s but when i select the first brunch of the tree “Insite”

i dont have the child in the screen.

any how to!? or solution to this issue?

BR

Tal

I believe the Sensor Monitor does what you intend here. Can you please try out this sample, if it does what you need try to compare the code of the sample with your code..

https://doc.developer.milestonesys.com/html/index.html?base=samples/sensormonitor_sample.html&tree=tree_1.html

PS. When you have rebuilt the plugin remember to copy it to the MIPPlugins folder and restart the Event Server service..

Hi bo,

thanks for the answer.

we looked at the sensor monitor sample and did the development eLearning for plugin integration.

but the tree that we are trying to create is that we have all the child’s of the tree under it and to create more child’s under it:

but as we see in the code each time we add a child under a branch such as fence it doenst show.

any idea?

or that how the system works?

BR

In the left hand side you have the structure and the template elements of the solution.

In the SensorMonitor sample there are two types of elements: Controllers and Sensors and Sensors are childs of Controllers.

However you can have many instances of Controllers and Sensors.

In the Management Client it looks like this..

Sensormonitor

I have a hunch that you have not seen how you can create many instances from the skeleton structure in the left panel. But I am in doubt. If my answer does not fit please ask again..

Hi Bo,

thanks again, but what i mean that when i add the MIP Plugin we want it to create the tree like you see in the pic below:

currently when we go over 2 child’s in the tree it wont add them.

we want to be able to add under each fence child another child and under it to able to right click and add fences with settings.

is that possible?

Thanks again

Tal

I just quickly added a 3rd level to SensorMonitor sample (child of sensors) and it worked fine. The intention is that only the types are shown in the leftmost tree in the MC, while the middle will show all items of the selected type, under their immediate parents. I agree that this is not always an ideal way of showing it (especially not when you have a large tree structure with many levels and branches), but that is how it is currently implemented.