CategoryConfigTabProvider

since v10.0.116

The extension point CategoryConfigTabProvider is a java interface that you can implement to display and provide content for custom tabs for the category configuration in the novomind iAGENT Supervisor frontend.

You can check the supplied CategoryConfigViewContext to decide whether to display the custom configuration tab.

Your plugin has to return an instance of CategoryConfigTab. The CategoryConfigTab specifies an internal name, a display name and a resource path for the tab's content. The path has to be specified as a relative path inside the META-INF/views directory of your plugin jar file.

Declarative configuration

Alternatively you can define a simple configuration via the app-manifest.xml file of your app by defining a ecom:categoryConfig element. You can use the same options as in the app configuration.

<metadata>
  <ecom:categoryConfig>
    <ecom:groups name="App Settings">
      <ecom:fields key="myApp.showTab" name="Show Tab" guiType="checkbox" dataType="Boolean" defaultValue="true" />
    </ecom:groups>
  </ecom:config>
</metadata>