About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
How To
Summary
How to load external properties into the Solution-properties store located in the Server Property Store Editor.
Objective
This example will show how to load properties from multiple files into the system properties. This will allow properties to be found within the 'Solution-properties' object of the System Store
Steps
1. Open the global.properties ( or solution.properties) of the SDI Server.
2. At the top of the file, locate the '!include' statements
## ## This file is read by ibmditk/ibmdisrv on startup ## ## Enter= to set system properties. ## Enter !include to include other files ##
3. Define the location to the custom property file(s). This can either be an absolute or relative path reference to the file(s). The SDI Server will search for relative references starting in the Solution Directory.
For example, we define 2 property file references.
4. In the custom property file(s), use valid key/value pairs assignment.
5. Restart the SDI Config Editor and SDI Server instance.
6. To verify the new properties were loaded by the server, review the Solution-properties store located in the Server Property Store Editor.
For example, the propName1 has been loaded from Custom.properties and propName2 has been loaded from L2.properties.
7. To access these new key/pair values the object can be access by either of the following methods:
-
system.getTDIProperty("propName1")
-
system.getTDIProperty(“Solution-Properties","propName1")
[{"Business Unit":{"code":"BU008","label":"Security"},"Product":{"code":"SSCQGF","label":"Tivoli Directory Integrator"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.2;7.1.1","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]
Was this topic helpful?
Document Information
More support for:
Tivoli Directory Integrator
Software version:
7.2, 7.1.1
Document number:
729197
Modified date:
22 April 2019
UID
ibm10729197