You need to sign in to do that
Don't have an account?
Sumanth Kumar 17
Print Account detail page using VF page
i need to print account detail page when print button on the detail page is clicked. This should be done using vf page. Can anyone help me out with this requirement?...Thanks in Advance !!
Please check with below link from forums community which might help you to accelerate with above requirement.
- https://developer.salesforce.com/forums/?id=906F00000008oeFIAQ
Hope this helps.Regards,
Nagendra.
Can you help with the template that has to be linked with the button....Thanks in advance !!
Please check with visual force page from the below link for template setup.
- https://developer.salesforce.com/page/Creating_Professional_PDF_Documents_with_CSS_and_Visualforce
Regards,Nagendra.
In this code,
<apex:page renderAs="pdf" showHeader="false"> <apex:stylesheet value="{!URLFOR($Resource.advancedpdfresource, 'qstyles.css')}"/> <apex:outputPanel layout="block" styleClass="standardBackground"/> </apex:page>
It is showing the error that "Static Resource named advancedpdfresource does not exist. Check spelling"....Can you help me with that?
It is not something which is ready by default.You have to create a static resource called "advancedpdfresource" and then reference that style sheet in the visual force page.Please check the document from the begining where it is explained clearly in the section "Inline Styles vs. External Stylesheets in CSS".
Please check with below screenshot for reference.
Mark this as solved if this helps.
Regards,
Nagendra.