| |
Using External Properties
In order to externalise certain configuration parameters like filenames etc.
, do the following: (We will here assume that you want to externalise the
filename c:\foo.xml, give it a symbolic name (key) FileName
and store this in an external file c:\myProperties.txt)
- Go to the External Property tab in the main configuration tab
- Push the Add button. If you had no External Property file, you will
be prompted for it's filename (c:\myProperties.txt). This filename is
stored in the configuration file you are inn, so all your AssemblyLines will
have access to the parameters.
- Register a property key and it's value (FileName and c:\foo.xml
)
- You should now have an External Property tab with Filename
and c:\foo.xml showing as key and value
- Go to the configuration screen for the component where you want to use FileName,
typically in an AssemblyLine (Screenshot)
- Since you are interested in the File Path parameter of a file Connector:
Click the File Path label (not textbox!)
- A box shows up with a User Property dropdown: Select FileName
here (Screenshot)
The NT4 Connector example contains an
example where a username and password is shared between 5 configuration files
and 10 Connectors.
| |
|