on 10-17-2006 9:27 AM
Hi,
I have a lot of Communication Channels looking for files in the same directory. This directory's path will be changed soon and so I assume I'll have to change all my Communication Channels.
I was wondering whether there was a means of using a variable for the Source Directory in order to just have to change its value where it is defined and not every where it is used...
Regards
Yann
Hi,
In the sender file comm chan config, under the "File Access Parameters" section, there is an option "Advanced Selection for Source File". By selecting this option, you can enter additional source file directory/names.
Enter your new directory and file in this section. The original directory you had will be ignored if it does not exist.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In a Windows system I have already tested with system variables. That works well. But you have to change the environment variables in the server directly.
For Unix you should test if system variables can be used as well.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is this a sender file adapter? or a receiver file adapter?
You can make a change / make the receiver file adapter's directory dynamic by setting the value during runtime in the mapping.
Use this blog and the code in the blog to acheive this,
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Sender File adapter, I dont think this is possible.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You create a link (with the ln command) that appears as a directory in the fileSystem. When you make actions on it, these actions are actually redirected to the true directory the link points to.
So when you want to change the directory name or path, you just have to make the change in the link aim, not to all the stuff that use the link.
The only drawback I see is that it means configuration outside XI.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.