Property lists are simple key-value pairs that facilitate the WDT variable feature in WDT model files. Use property lists to create a collection of key-value pairs that WebLogic Remote Console can insert into a WDT model file.
For more information on how property lists can enhance WDT model files, see WDT Model Tokens.
You may want to create a single property list that applies to multiple WDT model files or multiple, discrete files for each WDT model file, depending on your usage.
Be careful when editing property list key names. If you change a key name, WebLogic Remote Console registers that change as a new key-value pair. If that key was actively used by a WDT model file, it becomes a standalone WDT model token instead of a WDT variable. Conversely, if you add a key name that matches an existing standalone WDT model token, WebLogic Remote Console converts that the previously standalone token into a WDT variable.
You can also independently create a property list and then upload it to WebLogic Remote Console. Save the property list as .properties
, .props
, or another text file format. Place each key-value pair on a new line and separate names from their values by =
, :
, or a space. For example, key=value
or key:value
or key value
.
If you delete a property list that’s connected to a WDT model file, the WDT model file will remain unchanged but all WDT variables are converted to standalone WDT model tokens.
Create a property list to collect key-value pairs for use with WDT model files.
Open the Providers drawer and beside the project name, click More ︙. Select Create Provider for New Property List.
Enter a name for the property list provider.
In the Property List Filename field, enter a name for the property list file. Include .properties
or.props
at the end of the file name.
Click Pick Directory and browse to the directory where you want to save the new property list file.
Click OK to create the file.
You can now use the property list to hold WDT variables for WDT model files.
You cannot rename keys. If you change the name of a key, WebLogic Remote Console registers that action as deleting the previous key and then creating a new key. If the old key was actively being used as a WDT variable in a WDT model file, it will become a standalone WDT model token, unassociated with the property list.