on 10-11-2012 4:12 PM
Hi Experts,
In one of our interface development we require a dynamic Directory path at the reciever file adapter in a File to File scenario.
Situation is;
Sender
Path = Static Path
filename = Manual_SKUNUMBER_LANGUAGE
Reciever
Path= ....\SKUNUMBER\f20
filename= Manual_SKUNUMBER_LANGUAGE
now in Path of reciever subfolder SKUNUMBER is dynamic and need to be equal to SKUNUMBER in file name.
I need your helps for this situation.
Thanks
Hi,
If it's a file to file pass through scenario without mapping then u can use adapter module...but if mapping is involved in ur scenario then u can use DC UDF in mapping and create dynamic folder names.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here u go (created this one year back):
Above is for manipulating file name but u have to add just one line for directory
Thanks
Amit Srivastava
Hi Bekir,
I believe you can achieve this by following these steps:
1. Enable FileName ASMA for sender adapter.
2. Enable FileName and Directory ASMA fields for receiver adapter.
3. Write an UDF to read FileName attribute and set the Directory field through Dynamic Configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.