Discussion

3
Replies
1964
Views
Junjar Singh Bhati (JunjarSinghB)
Virtusa

Virtusa
IN
JunjarSinghB Member since 2014 1 post
Virtusa
Posted: September 21, 2015
Last activity: December 6, 2015
Posted: 21 Sep 2015 14:11 EDT
Last activity: 6 Dec 2015 2:26 EST
Closed

Send mail with excel attached without WO

Hi,

      My requirement is to run reportdefinition and get content and convert content to excel and send this excel to mail as attachment.

My approach :

          got content and created HTML of that and set to property using property-set-HTML and now i need to convert this into excel then into byte code(base64) and send to sendnotificationwithallattachment.

Problem: can't use exportToExcel it will generate excel file and will ask to save it and this file can't be sent to mail. Is there any Pega method like HTMLToPdf for excel so that i can convert to into byte array and send to mail as attachment

Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.