Ignition 8.3: Controlling placement of nav entries

I’m trying not to put my module’s entry in the left-hand-side nav pane at the top, but it seems like the position option is ineffective in this regard:

        this.context.getWebResourceManager().getNavigationModel().getConnections()
                .addCategory("seeq", cat -> cat
                        .position(5)
                        .label("Seeq")
                        .addPage("Settings", page -> page
                                .position(0)
                                // Note the second parameter is the name of the JS component that was exported
                                .mount("/seeq/settings", "SeeqSettings", jsModule)
                        )
                );

See position(5) for the addCategory() call.

The entry ends up at the top:

The numbering starts at 100 in the platform (to make room for devices, apparently) and has inconsistent gaps; try setting your position to 120.

1 Like

Bingo. Thanks Paul

2 Likes