on 08-02-2007 3:40 PM
Hello ,
Is there any way where i could store some variables behaving like global variables in XI?
I need to have some parameters like file path etc to be accessed from all the places.
But right now I have to hard code it in my Java Class.
Is there any location in XI , where i can store these variables so that i can access them from all the locations also from my JAVA Class.
Thanks
Meghana
Hi,
If you want to access the file name or file path, you can check ( or activate) <b>adapter specific message attribute</b> of your sender file adapte and then you can access these values in your UDF.
You do not need to hard code it.
Regards
Pushkar
Message was edited by:
Pushkar Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meghana,
When you said from all places...do you means to say in same Message Mapping but in different UDF?
You can do that...you can declare Variable in Message Mapping. In message mapping there is button called "Edit Java Sections" where you declare a variable.
Also you do not need to store a file name in variable, you can diretly read input file name..
Let me know if you need more details.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.