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?

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...