Creating Configuration Properties
Create configuration properties or name/value pairs in a project. Use configuration properties to supply the default values for destination nodes of a map in the Mapping Editor.
About this task
When you add configuration properties to the project, using the
option of the Studio toolbar menu, you can choose from these properties to supply the values for some of the fields in endpoints and default values for destination nodes in maps.For example, if you created a configuration property
named myDatabaseName of String type in Studio.
While configuring your database endpoint, click the Database
Name field and the icon displays on the right side of field because at least
one configuration property of String type was previously created.
Click the
icon
and select the myDatabaseName configuration property
from the menu. The Database Name for the endpoint is supplied by the myDatabaseName configuration
property during both design time (in Studio) and run time (on the
Integration Appliance). A configuration property can be of type String
or Password.
A destination node of a map is located in the right pane of the Mapping Editor. For more information, see Assigning a Default Value for a Destination Node.
You can create configuration properties in the Configuration Properties dialog box or use the quick create method.
To create configuration properties using the Configuration Properties dialog box:Procedure
- Open a Project.
- Select The Configuration Properties dialog box displays. from the toolbar menu.
- In the Add Name field, enter the name of the property you want to create.
- From the Type list, select either String or Password.
- Click Create. The new property name and type display in the properties list.
- Click in the Value column for the newly created property.
- Enter a value for the property; if it is of type password, the value is masked.
- Press Enter or click out of the Value table cell to stop editing.
- Continue adding additional properties as required. When finished, click OK.
Example
Instead of creating configuration properties in the Configuration Properties dialog box, you can use the quick create option to define configuration properties directly from a text field in Studio. Fields that are enabled for the quick create option display a small green globe in the lower-right corner.
You can change the values of the configuration properties using the Web Management Console (WMC), like the configuration properties created in the Configuration Properties dialog box, after publishing a project.
Updating the value of the configuration property in the WMC does not affect the original value of the configuration property, that you defined in Studio.
- In an Enabled field, click the green globe. The Create Configuration Property window is displayed.
- In the text field, enter a name for this property.
- Click Create to save the entry as a reusable property.
