Jump to content

Recommended Posts

h.buckle
Posted

I'm creating a plugin with 2 pages, a config page and a report page and trying to use PluginUI (no embedded html/js)

I can't get the config page to appear when you click on the plugin in the catalog (or select settings from the context menu), instead it just displays the report page

This is what I'm setting in the controller

        public PluginConfigPageController(string pluginId) {
            PluginId = pluginId;
            PageInfo = new PluginPageInfo {
                Name = "Configuration",
                DisplayName = "Settings",
                MenuIcon = "settings",
                EnableInMainMenu = false,
                IsMainConfigPage = true,
                EnableInUserMenu = false,
            };
        }

For the report page I have IsMainConfigPage = false

If I don't include the report page at all (remove it from the list of UIPageControllers) then the settings page is shown when clicking on the plugin, so it seems like it just picks one from that list to display and ignores IsMainConfigPage?

  • 3 weeks later...
Posted

@h.buckle - Can you show more of your code?

  • 3 months later...
ginjaninja
Posted
On 24/03/2026 at 10:04, h.buckle said:

I'm creating a plugin with 2 pages, a config page and a report page and trying to use PluginUI (no embedded html/js)

I can't get the config page to appear when you click on the plugin in the catalog (or select settings from the context menu), instead it just displays the report page

This is what I'm setting in the controller

        public PluginConfigPageController(string pluginId) {
            PluginId = pluginId;
            PageInfo = new PluginPageInfo {
                Name = "Configuration",
                DisplayName = "Settings",
                MenuIcon = "settings",
                EnableInMainMenu = false,
                IsMainConfigPage = true,
                EnableInUserMenu = false,
            };
        }

For the report page I have IsMainConfigPage = false

If I don't include the report page at all (remove it from the list of UIPageControllers) then the settings page is shown when clicking on the plugin, so it seems like it just picks one from that list to display and ignores IsMainConfigPage?

Did you ever find the answer? are you using multiple pages or multiple tabs? i have hit the same problem in the past as well, but without understanding why, and none the wiser how the problem went away. i dont undersand in a multitab environment why 1 tab becomes the default tab, its not the 1st tab..possibly the last tab or a tab with "config" in its name, that always seems ?magically? become the primary tab when entering from the plugins page.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...