Customizing your global settings

Learn how to customize advanced settings of the Dynamic Workload Console.

About this task

To customize the behavior of the Dynamic Workload Console, you can optionally configure some advanced settings. These settings are specified in a customizable file named TdwcGlobalSettings.xml.template.

By default, the customizable file is copied into the following path after you install the Dynamic Workload Console:
On Windows operating systems:
DWC_home\usr\servers\dwcServer\registry\TdwcGlobalSettings.xml.template
On UNIX and Linux operating systems:
DWC_home/usr/servers/dwcServer/configDropins/templates/TdwcGlobalSettings.xml.template
If you have Administrator privileges, you can modify the file to replace default values with customized ones and enable commented sections. To enable commented sections, remove the tags that enclose the section. You then save the file locally with the name TdwcGlobalSettings.xml.
Note: On UNIX and Linux operating systems, you need to save the TdwcGlobalSettings.xml file in the following path: DWC_DATA_dir/usr/servers/dwcServer/registry/TdwcGlobalSettings.xml
You can add and modify some customizable information, such as:
  • The URLs that link to videos in the Dynamic Workload Console. For example, you can link to a company intranet server to view help videos rather than to a public video site.
  • The maximum number of items to be shown in the job stream view.

This file is accessed at each login, and all configurations specified in the file are immediately applied.

You can use any text or XML editor to edit this file, but ensure that you save it is as a valid XML file.

The file is organized into sections that group similar properties. An explanation of each section is available in the file. For more information, see TdwcGlobalSettings.xml sample.

To edit the file, proceed as follows:
  1. Stop WebSphere Application Server Liberty using the following command:
    UNIX
    Stop the application server
    ./stopAppServer.sh  [-direct]
               
    Windows
    Stop the application server
    stopAppServer.bat [-direct
                [-wlpHome <installation_directory>]
                [-options <parameters>]]
  2. Log is as root or Administrator to the Dynamic Workload Console.
  3. Browse to
    On UNIX and Linux operating systems:
    DWC_home/usr/servers/dwcServer/configDropins/templates/TdwcGlobalSettings.xml.template
  4. Edit the file as necessary, rename it to TdwcGlobalSettings.xml and save it.
    Note: On UNIX and Linux operating systems, you need to save the TdwcGlobalSettings.xml file in the following path: DWC_DATA_dir/usr/servers/dwcServer/registry/TdwcGlobalSettings.xml
  5. Start WebSphere Application Server Liberty using the following command:
    UNIX
    Start the application server
    ./startAppServer.sh  [-direct]
    Windows
    Start the application server
    startAppServer.bat [-direct]
                     
Example:
<?xml version"1.0"?>
<tdwc>
.
.
<settings>
        <search>
            <property name="search_max_limit" value="500"></property>
        </search>
    </settings>
.
.
</tdwc
To view the complete syntax for the file, see TdwcGlobalSettings.xml sample.