Closed
Create Excel File and Attached to Email
Hi , is there any method we could create excel file and attach to the email?
***Edited by Moderator Marije to add Capability tags***
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hi , is there any method we could create excel file and attach to the email?
Please try to explore the scheduled reports which would suffice your requirement.
https://docs-previous.pega.com/reporting/87/scheduling-reports
@WeiPingT - Once the data is on the pagelist using Report Definition or any other means the same data source needs to be passed to the EmailNotification as "Param.AttachmentPage" page. Below steps could be performed -
Once done use Property-Set method to append the below to the attachment Page -
AttachmentPage.pyAttachments(1).pyName -> "FileName" AttachmentPage.pyAttachments(1).pyType -> "xlsx" AttachmentPage.pyAttachments(1).pyDecode -> "true" AttachmentPage.pyAttachments(1).pyData -> local.filedata
Discussion
Question
Question
Question
Question
Question
Question Solved
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.