Skip to main content
Bumped by Community user
Bumped by Community user
edited title
Link
cropredy
  • 73.3k
  • 8
  • 128
  • 284

Convert VisualForce pagePage including some JS-constructed DOM to PDF

Source Link

Convert VisualForce page to PDF

I have a VisualForce page that I need to convert to PDF.

Now the challenge is that this page has a few components constructed with JavaScript (including, but not limited to, jQuery), so 'runAs="pdf"' wouldn't work. So I need to load the page, wait until it gets fully constructed with JS, and then convert it to PDF.

Any ideas on how to get this done, if its doable at all?