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,
Thank you for the suggestions. I will have a look.