on 10-08-2010 11:59 PM
I'm developing above scenario. I want to retain the name of the attachment. Is it possible to do with UDF ?. Attachment is in csv format and Main file may be txt format.
Hi,
try to get some hints having a look to my blog:
/people/francesco.bersani/blog/2007/03/27/rename-attachment-adapter-module
Please remember that the code specified is for XI 3.0.
If you're using PI 7.1 or above you need to adjust the code.
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I tried with the code in your blog. I sent test123.txt and test123.csv file as attachment. In SXMB_MONI and Receiver Communication channel SOAP header as well attachment name has been changed to test123.csv. But when Email is received thru exchange server attachment name getting changed to "untitled.xml" ..
Any Clue ?
Use MessageTransformBean module in adapter configuration to achieve this.
Enter "localejbs/AF_Modules/MessageTransformBean" as the module. Select the Type "Local Enterprise Bean" and select a value for Module Key. Use this module key to create the following three lines in Module Configuration:
Transform.ContentDisposition attachment;filename="myfilename.csv"
Transform.ContentDescription myfilename.csv
Transform.ContentType application/xls;name="myfilename.csv"
Regards,
TK
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.