In Joomla 4 I can add a backend menu for my component like so:
<administration> <menu img="components/com_mycomp/assets/images/icon-16-mycomp.png">mycomp</menu> <submenu> <menu link="option=com_mycomp" view="mycomp" img="class:mycomp" alt="mycomp/mycomp"> com_mycomp </menu> ...
But this only creates a simple one dimensional menu deep inside the components level.
Is there a way to create a flexible backend componend menu on the highest level with dashboard and adding links during installation like it is used in the com_users component here:
I know that i can create a backend folder called presets and add an XML file containing a new sidebar structure for the backend. But for that to work the user needs to switch to that preset in the administrator module menu.