on 07-03-2012 12:00 PM
Hi All,
In a Proxy to Mail Scenario, We are receiving the Payload as MainDocument.txt.
We used 'AF_Modules/StrictXml2PlainBean' for converting xml to csv.
I tried using 'AF_Modules/MessageTransformBean' to change the attachment Name from MainDocument.txt to ABC.csv .
Still the attachment name remains as MainDocument.txt. Are we missing some thing for this?
or Do we need to go for custom adapter module / Mail Package for changing Attachment Name.
Thanks & Regards,
Hitesh
This issue is resolved.
Corrected the Sequencing for the Modules i.e. StrictXML2PlainBean comes firt and the Message Transform Bean.
Thanks & Regards
Hitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can find sample code for a custom module in this blog - http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/04/13/renaming-email-attachment-with-in...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
1. MessageTransformBean is enough for setting a static name
2. in case you'd need to make it more dynamic - have a look at my blog:
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
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.