You need to sign in to do that
Don't have an account?

render as pdf
hi i have requirement here like we will be sending some links in the emails to the guest users .so when a user clicks on the link a page opens with some populated data.i am using java script to populate the data. i made the page render as pdf. then the page is loading as pdf but the data is not populating.when i take off the render as pdf the page is loading with populated data.
So i want to create a button on the page so that when user clicks on that button the page with populated data should convert as pdf.
can anybody how can i achieve this.,
cheers
Place the logic to populate the Visualforce page into an associated APEX Controller and then the rendered result will display correctly.
but hte logic i have written in java script
the logic to pupulate the data is in java script
how can we keep this in controller.