-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Most of the features that are configurable in Scenarioo can be configured directly through the Configuration pages inside the Scenarioo webapplication. Just use the link "Manage" in the upper right corner.
This section describes some very special configurations that are not yet possible through the Scenarioo configuration pages directly.
By adding custom object tabs to your scenarioo home page, you can enable browsing all objects of some type(s) (almost the same way as use cases can be browsed on the entry page).
This feature currently has to be enabled by adding some XML fragment to your Scenarioo configuration file.
The following XML fragment added to your configuration file, will make all your objects in your scenarioo documentation of the types listed as <objectTypesToDisplay> browsable in one searchable object tree inside a new tab called "Calls" on the home page of Scenarioo. This example lists all objects of type "service", "businessOperation" and "uiAction" in one tree, just as you can see it in the Demo of Scenarioo. Also the details properties "description" and "realName" are displayed in the resulting tree table as columns.
<customObjectTabs>
<id>calls</id>
<tabTitle>Calls</tabTitle>
<objectTypesToDisplay>service</objectTypesToDisplay>
<objectTypesToDisplay>businessOperation</objectTypesToDisplay>
<objectTypesToDisplay>uiAction</objectTypesToDisplay>
<customObjectDetailColumns>
<columnTitle>Description</columnTitle>
<propertyKey>description</propertyKey>
</customObjectDetailColumns>
<customObjectDetailColumns>
<columnTitle>Real Name for Service</columnTitle>
<propertyKey>realName</propertyKey>
</customObjectDetailColumns>
</customObjectTabs>
This example is an extract from the demo configuration, for full example configuration file see config.xml
IMPORTANT Remarks:
-
Changing the configuration file manually always needs a server restart such that the changes take effect.
-
Defining a new tab in the configuration, needs reimport of your builds to generate the data for the configured tabs. Just go to the "Manage" page and click on the refresh icons behind each build in the tab "Builds" to trigger a reimport.
You can also define more than one such tab, and a tab can also only list objects of one type (just as a list, no tree then).
The default configuration since scenarioo version 2.0 already comes with two such simple object tabs predefined: Labels and Pages, to list all pages and labels in your documentation. If you upgrade from version 1.x you have to manually enable this two tabs by adding the following to your configuration:
<customObjectTabs>
<id>pages</id>
<tabTitle>Pages</tabTitle>
<objectTypesToDisplay>page</objectTypesToDisplay>
</customObjectTabs>
<customObjectTabs>
<id>labels</id>
<tabTitle>Labels</tabTitle>
<objectTypesToDisplay>label</objectTypesToDisplay>
</customObjectTabs>
In case you are using the default version 2.0 configuration and you do not want to see "Labels" and "Pages" in your documentation, you can remove those tabs by removing this configuration part from your config.xml file and restart the server.