on 10-07-2008 1:46 PM
Hello Gurus,
I have configured my CC in a way that it fetches email with attachment from inbox ok. Now i want to move the attachment to the payload. Email body is useless.
I think it is done by using PayloadSwapBean, but what are the exact module keys? Swap?
Also what are the correct parameter names and values in the module configuration?
My attachment name is delvry03.xml and it is an idoc.
Regs,
Pekka
Hi Pekka
PayloadSwapBean has two keys
swap.keyName and swap.keyValue
if you want to swap your payload
use
swap.keyName - > payload-name
swap.keyValue -> delvry03.xml
this will swap your PI payload MainDocument( default) to delivry03.xml which is coming as attachment.
As you are doing Mail to Mail scenario then attachment would be coming under field
Content-Disposition: attachment;filename="delivry03.xml"
Content-Description: delivery03.xml
you can use
swap.keyName - > Content-Disposition
swap.keyValue -> attachment;filename="delivry03.xml"
swap.keyName - > Content-Description
swap.keyValue -> delivery03.xml
Refer to Michal's blog provided by Stefen
Thanks
Gaurav
Edited by: Gaurav Bhargava on Oct 8, 2008 1:59 AM
Edited by: Gaurav Bhargava on Oct 8, 2008 2:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.