Visible and Real Context Trees

Top  Previous  Next

This section covers the difference between visible Context Tree and server-side Context Tree.

It is very important to know, that structure of context tree visible in the System Tree and similar components (such as Entity Selector) does not exactly match structure of AggreGate Server contexts tree. For user convenience, nodes corresponding to a single server-side context may appear in two, three or even more locations of the System Tree.

For example, a single Device Context representing hardware device may simultaneously appear:

Under Devices node showing Device of the active user
Under All Devices node combining all Device in the system
And under one or more Device Group nodes

cl_st_tree_difference

The nodes indicated by arrows on the above picture all correspond to a single server-side context. Its absolute server path may be found out by holding mouse over System Tree node and checking its tooltip:

cl_st_tooltip

This difference may cause unexpected unexpected results when checking paths of contexts visible in the tree. Here is an example: the tree may show a Device ABC context under Root > All Devices. However, the real server path of this context is users.Owner_Name.devices.deviceABC where Owner_Name is the AggreGate Server user owning the device. The server-side All Devices context has no real children at all, as it is a so-called mapped context.