Timeline for GetContentAsPDF from Batch Apex and Trigger fails with new Update
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 26, 2015 at 14:43 | comment | added | RajeshShah | Thanks Ashwani. As @Chirag Mehta mentioned, the critical update has been postponed till Spring 16. So we will update our logic when Winter'16 is applied to our org. | |
Aug 26, 2015 at 14:40 | vote | accept | RajeshShah | ||
Aug 26, 2015 at 11:43 | comment | added | RajeshShah | Yes, we are getting a blank document. | |
Aug 26, 2015 at 9:35 | comment | added | Ashwani | With summer '15 are you getting blank document? @RajeshShah | |
Aug 26, 2015 at 9:30 | comment | added | RajeshShah | Haven't tried with Winter'16 release. I will get hold of a trial org and check that out. | |
Aug 26, 2015 at 9:28 | comment | added | Ashwani | @RajeshShah Did you tried with current release that you are still getting bank document. With previous release I am sure that blank document get generated. | |
Aug 26, 2015 at 9:18 | comment | added | RajeshShah | When we do GetContentAsPDF from a batch class, it generates a blank document. No error but just a blank document. That was reason we had to switch to rest service. | |
Aug 26, 2015 at 9:13 | comment | added | Ashwani | As an interim solution can't you break the logic using a schedulable batch in your rest resource. It seem like you have written a apex rest service. That batch will generate the pdf and attach to record. rest resource will schedule it | |
Aug 26, 2015 at 9:09 | comment | added | RajeshShah | When would the Winter'16 release be live on Production orgs? The Critical Update will be auto applied on 11th Sep, so winter 16 is applied after that, we would need an interim solution for this. | |
Aug 26, 2015 at 8:29 | history | answered | Ashwani | CC BY-SA 3.0 |