using pxGenerateExcelFile i can able generate the file from RD . when we click Run Button the file getting downloaded. when i use this generated file to attach in Email i am getting empty message without any attachments . For OOTB MsoGenerateExcelFile we use the Param.Exceldata as the value for pyAttachements.pyData column .
having doubt in what value should be passed as the parameter for pyAttachements.pyData when we use pxGenerateExcelFile .OOTB.
How to attach the file in pyAttachemets using pxGenerateExcelFile
***Edited by Moderator: Pooja Gadige to add platform capability tag***
If you have used pxGenerateExcelFile/MsoGenerateExcelFile and checked param to download , then pega will not hold the file in service export path it will download to your local machine , If param is unchecked then file will be available in service export path.
Once you have the file in service export path in temp directory you can read the file and convert it into base64 encoded data , we have 2 ways to do it