TenantConfigTabProvider

since v11.2

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

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

Your plugin has to return an instance of TenantConfigTab. The TenantConfigTab 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:tenantConfig element. You can use the same options as in the app configuration.

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