Quote we have some functionality which creates quote attachment and send the same on the User email. functionality was working fine but after 12th September it is not showing even on quote detail page and neither on the email we receive. Code wise nothing is changed.
pg.getParameters().put('id',QuoteManager.qto.Id); pg.getParameters().put('mode','pdf'); pg.getParameters().put('userId',UserInfo.getUserId()); system.debug('*********pg.getUrl()*****'+ pg.getUrl()); if(!Test.isRunningTest()){ attach.body = pg.getContent(); system.debug('====Page Content is====='+pg.getContent()); }else{ attach.body = Blob.valueOf('test data'); } system.debug('&&&&&&&&&&&&&&&&'+ attach.body); attach.contenttype = 'application/pdf'; system.debug('===Attachment Is==='+attach); lstCreateAttach.add(attach); System.debug('***Quote PDF Attachment Added***');
1 resposta
Hi @Alok Jha,
Refer:
https://help.salesforce.com/s/articleView?id=000383958&type=1
If you find this information helpful, kindly mark it as the best answer. Thank you!