Questions tagged [getcontentaspdf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
2answers
2k views

GetContentAsPDF from Batch Apex and Trigger fails with new Update

[Salesforce Update] The critical update named “PageReference getContent() and getContentAsPDF() Methods Treated as Callouts” was scheduled for auto-activation in Winter ’16. To allow for planning ...
6
votes
2answers
2k views

Programmatically generate Quote PDF in Lightning Component Apex controller

I'm trying to programmatically generate and insert a Quote PDF, given a Quote Id and a Template Id, within an @AuraEnabled method in my Lightning component's server-side controller. (N.b. - the ...