on 11-10-2008 6:00 PM
Hi Experts,
I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf document I want to store in a dynamic directory (depending on the filename). so I have to read the filename out of the dynamic configuration and generate (depending on the filename) a directory for this file. Is that possible without a message mapping? I cannot make a message mapping because the file has the pdf format and should not get changed.
best regards
Christopher Kühn
Hi
Yes it is possible
Use the ASMA for sender adapter. No need to any IR steps.
At receiver configure Variable substitution
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
I use the ASMA (respectively the filename) for the sender adapter. After the pdf was imported into XI this filename is in the ASMA.
But what then??? How can I get this filename with the help of the variable substitution? and if I have this filename I have to change this filename a bit to generate the name / path of the directory.
Please explain it to me detailled
Thanks and regards
christopher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
File adapter supports Attachments. You might want to use a dummy file and take the pdf as attachment. In that case may be you can use dynamic configuration.
Search the forum for Sudhir Porumamilla Blog on this topic.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately with what you want to do... to set the path dynamically the values must be taken from somewhere...So the way I see it it:
1: You must use the IR to create the necessary interfaces so that you can utilize variable substitution (taking values from the target payload) and just pick up the PDF as an attachment.
2: Look into using an OS script after the file has been dropped off to move it to a dynamically determined folder...
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.