All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
59 views

Generated Word document from VF Page and store it in salesforce

We have a visualforce page to enter notes. On button click, we have to store the page as a word document in salesforce. So we use the getter setter variable contentType to render the page as the word ...
1
vote
1answer
242 views

Page getContent / getContentAsPDF not retrieving the updated data

I'm able to get all the data by calling the Page.getContentAsPDF() function by selecting all the record from Account object. Basically, I'm loading the pdf content based on query from page ...
1
vote
0answers
288 views

PDF generation failed. Check the page markup is valid.- Occurred when using getContentasPDF

I have a VF page, where I am not using renderas "PDF". In the single email messaging method of Controller, I am using the Attachment as pdf of the VF page. I used getContent() function which ...
6
votes
2answers
293 views

How to mix getContentAsPDF calls with DML?

This critical update: PageReference getContent() and getContentAsPDF() Methods Treated as Callouts will be auto-activated in January 2016. We have some code that uses a queue of custom event ...
4
votes
1answer
620 views

PDF Generation Salesforce

I'm kinda stuck in the middle of all the limitations Salesforce has for creating a pdf out of a Visualforce page. What I have is a Visualforce page that takes some parameters and I use to rerender as ...