[SalesForce] Long Text Area not rendering correctly when rendered as pdf

I have an issue where I have a VF page containing a long text area field. The field and data displays correctly when it's a standard VF page. I have an option to view the page as a PDF and when perform this logic the field cuts off data on the view.

Is there anything special I need to do to get this to render correctly in the PDF view? I'm using the apex:outputField to display the data on both the VF page and PDF page.

view in vf page

View as pdf

Best Answer

Welcome to SF.SE Bolt. <apex: outputField> is considered an unsafe component to use when rendering a PDF. See Best Practices for Rendering PDFs to learn which ones can and cannot be safely used.

Related Topic