In a connector I have a table that lists the users in the system. The Instance column is the user ID which us unique. I want to be able to group the users based on the uplink port they are assigned to. Uplink port is in another column.
Is there a way to do this, or do I have to create separated tables per port?
I do not want to have autoincrement on instance.
Hi Anna,
Unfortunately, grouping users by uplink port directly within the table isn’t possible.
However, a good approach would be to create an Uplink Port table containing all available port options. In your Users table, you can then add a foreign key referencing the corresponding uplink port.
Additionally, you can use a tree control to display the data in a hierarchical format for easier navigation.
For example, take a look at this Advanced hierarchy | DataMiner Docs.
In this example, you can see how to structure a tree view, where the parent node is a category like Cars_EUR or Cars_USA, the next level is the brand (e.g., Renault), and the final level contains specific models (e.g., Scenic, Twingo).
In your case, you could structure it similarly, with Uplink Port as the parent and Users as the child nodes.
Feel free to check out the documentation for more details. Let me know if you need further assistance!
Kind regards,
The list of users will be quite extensive, I would like to be able to group like in the dashboard. Is this possible?

Added more information in separate comment.
Hi Anna,
Small question, is there a reason why the grouping needs to be implemented in a connector? Using a dashboard does not cover your use case?
Both Dataminer Cube and the view in the dashboard is used. Dataminer Cube is used when configuring the users, dashboard is only used for monitoring.
Hi Anna,
If you want to group users based on the uplink port, you can simply click on the "Uplink Port" column to sort the table. This will effectively group users by their assigned uplink port for easier visualization.
If you need to work with the grouped data outside the system, you can export the table to Excel, where the sorted data will be preserved.
Could you clarify your specific use case? That way, I can provide a more tailored solution.
Kind regards,
Added more information in separate comment.
Thank you for the suggestions. I will have a look.