cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic TimeStamp in Email Attachment

Former Member
0 Kudos

Hi Experts,

I need to name the email attachment in the receiver CC as ABC_TimeStamp.xml

I would like to use the MessageTransformBean or any other available bean to achieve the same. I am using PI 7.0, SP13.

By going through RFC822 i tried the below in the module tab of the receiver mail CC

Parameter Name ParameterValue

Transform.ContentType application/xml;name="ABC_"date-time=date time".xml"

But It gives the attachment name as ABC_date-time=date time.xml.

I know I have got this wrong, but I could not find any more information.

Is it possible to add the system timestamp to the attachment name with the help of a module? Or do I need to follow the steps as told by Michal Krawczyk or Stefan Grube?

Many Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Parameter Name ParameterValue

> Transform.ContentType application/xml;name="ABC_"date-time=date time".xml"

the option you have provided will not work.

Some workarounds are already there. hope you would have seen this for example - /people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution

Answers (2)

Answers (2)

Former Member
0 Kudos
stefan_grube
Active Contributor
0 Kudos

There is no other way besides using an adapter module:

http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0SetAttachmentName