Discussion
Error while opening a pdf attachment
Hi ,
My requirement is, i need to send an email with attachment(not related to work object).
My approach:
In activity, i created one attachment page called Attach of Data-EmailAttachments.Now it has one property called .pyData,in this property i gave the content (html and table tags).
It has some other properties also [.pyName="test" and .pyType= ".pdf"]
So now i am calling the "SendEmailNotification" OOTB activity. It has one parameter called AttachmentPage in which i referred Attach page.
Output:
I am getting the Email with generated pdf as an attachment But while opening that pdf,it is showing the following error.
Adobe reader could not open 'test' because it is either not a supported file or because the file has been damaged(it was sent as an email attachment and wasnt correctly decoded)
Note:
The same thing i am doing for Excel generation.I am able to get the desired output.
Can anyone suggest me?
Thanks in advance
Karthika
In order to resolve the issue that you are experiencing a thorough review of all of the factors contributing to the issue is required. Please submit a Service Request (SR) so that one of our Customer Support technicians can work with you on this. You can do so by contacting Pegasystems Global Technical Support through My Support Portal.
Regards,
Sean
Pega Academy Support Team