You need to sign in to do that
Don't have an account?
Ab
converting a web page to a Pdf
Hello,
I want to realize below use case in Apex code
1) go to below url www.wxyztest.com/abcd
2) convert that webpage to Pdf
3) Attach that Pdf to a Quote
I am more interested in the forst two parts.
thanks for suggestion !
I want to realize below use case in Apex code
1) go to below url www.wxyztest.com/abcd
2) convert that webpage to Pdf
3) Attach that Pdf to a Quote
I am more interested in the forst two parts.
thanks for suggestion !
Have a look on this :
http://salesforce.stackexchange.com/questions/46217/how-to-render-as-pdf-when-loading-the-existing-website-into-the-vf-page
All Answers
Here is your answer.
First create one VF page with like this with following attribute FYR - https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_renderas_pdf.htm
In that VF page use an IFRAME where source would be - "www.wxyztest.com/abcd"
Now the APEX part.
Create one method like this. This would add the attachment to your Object.
If that works for you then do mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help. :)
Have a look on this :
http://salesforce.stackexchange.com/questions/46217/how-to-render-as-pdf-when-loading-the-existing-website-into-the-vf-page