on 10-05-2007 1:13 PM
Hi All,
Iam doing File-File scenario.
I have some ten files on source side, where file name starts with flow.
So i have given File name as flow. in XI .
Now my requirement is i have to get the same name for Receiver side also .
Is ther any other way than the foollowing blog..
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Thanks,
Hem.
Hi Hem,
Check Adapter specific message properties in sender and receiver file adapter.
In Sender file adapter use file name as flow.
In Receiver file adapter use File Name as .
This way you will get same filename on the receiver side.
Regards
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasanthi,
I have one question here,how can we handle if I have source file as XML and target as text file with FCC,but I want to get the same name as source file?
I tested by giving file name scheme as *.txt(file type = binary) ,it generated file ,but when I see the general properties of the file it says XML document,infact which is not.so when I tried to open with internet Explorer gives error,I have to choose notepad and then open it and it had text kind data.
and I tested other way,keeping file name scheme as . and filetype = text ,same problem.
what might be the problem,why it is not able to generate file of txt property?
do we need to use Dynamic variable process as suggested in the blogs?
thank you.
Babu
Hi Hem,
If the filename is present in the file content then you can go for variable substitution in the receiver communciation channel where you can take the file name from the payload itself.
Search in sdn blogs and you will get lot of blogs on variable substitution.
Regards,
Prasanthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at these blogs
There is another method to for it - variable substitution... The blog talks about the same
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hem,
It is the only easiest wat to do this scenario....
Regards
San
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemchand,
in your sender and receiver channels just select "set adapter specific message attributes" and "file name". In receiver channel in filename field, give some dummy name as it mandatory.
Regards,
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.