Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [renderas]

The tag has no usage guidance.

0
votes
0answers
17 views

Rich Text Area Indentation(Formatting) issue with Lists when rendering as pdf?

We have a Rich text field on the object where the data is entered the form of an list with indentation like below. But when we do Render as Pdf on the Vf page the indentation is lost as below. I ...
0
votes
1answer
42 views

Visualforce renderAs PDF page size error

I need to render a small pdf page, height = 15mm and width = 30 mm. I have developed a VF page but I am not able to get the required page size. I am getting the error 'Page style attributes result in ...
1
vote
1answer
750 views

Render as PDF in table format in lightning component

I am displaying data in lightning component in table format and have the render the same in PDF.I am able to render this in PDF format but it is not in the table format. Format in lightning component:...
3
votes
1answer
178 views

Recommendations to style Visualforce page to match the SLDS?

Does anyone have insight into the best practice to style a Visualforce page to match the SLDS for inclusion in a lightning component and printing? I can hear the choirfolk chanting: Visualforce is so ...
0
votes
1answer
123 views

Sort field set in Visualforce renderAs PDF with apex:repeat

Can anyone help me to sort a field set that I'm iterating through with apex:repeat? I have a Visualforce page that renders some data as a PDF using Field Sets and I just want the ability to sort the ...
8
votes
0answers
127 views

Status of renderAs advanced_pdf

I just wondering if this promising feature has been evolved or is evolving to GA https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_vf_advanced_pdf.htm Any info about current ...
0
votes
1answer
328 views

Visualforce renderas pdf text rotation

I have created visualforce page which will be render as pdf. In that I tried using transform:rotate(90deg); and writing-mode: vertical-rl; it's working fine in visualforce page but when renderas pdf ...
0
votes
1answer
83 views

Show value in Outputfield and InputFIeld while Rendered

I have one Input field and one Output field. And I have two Boolean fields Boolean 1 and Boolean 2 from Controller. Condition 1: If Boolean 1 is true and Boolean 2 is false the value should come in ...
0
votes
2answers
34 views

Conditional in <response> tag in VisualforcePage

I'm newbie in Salesforce, and I am having a problem that I cant fix. I am using Twilio for making/receiving calls. I would like to put a conditional on my VFP depending on a variable that is set on ...
1
vote
1answer
208 views

Visualforce Page renderAs pdf styling does not apply

<!-- Begin inline CSS --> <style type="text/css" > .NMA-mobile-logo{ width:57%; } .NMA-other-logo{ width: 25%; } .headerWrap { border-radius: 15px; background: ...
1
vote
0answers
323 views

Avoid blank page in VF page render as PDF

I searched for this, everywhere they suggest to use Style="page-break-inside:avoid;page-break-after:auto; but for me it is not working as I am still getting blank page. I try to adjust margin but it ...
0
votes
3answers
762 views

border-radius table visualforce page

I am trying to put some styling to my table with a border-radius in my visualforce page but when rendered to pdf I dont see the rounded corners. Is this not possible with render to PDF and if not are ...
0
votes
0answers
170 views

renderAs PDF is blank when saved as attachment

I have a Lightning action button on lead standard page with action type as visualfroce page. When the button is clicked and visualforce is loaded, I need to generate a PDF with some lead data and save ...
0
votes
1answer
238 views

renderas pdf “PDF generation failed. Check the page markup is valid”, position: fixed;

I am trying to create a pdf using a Visualforce page with renderas="pdf" tag but I get below error message PDF generation failed. Check the page markup is valid. Here is my code below: <apex:...
1
vote
1answer
119 views

is it possible to render as pdf with font Actor

I tried the following to render a custom font in visual force <apex:stylesheet value="https://fonts.googleapis.com/css?family=Actor"/> .cal { font-family: 'Actor'; font-size: 14px; }...
0
votes
1answer
179 views

Showing a blank page when downloading a VF page rendered as PDF

I Have a VF page which just displays my Rich Text Area field's value as a PDF (renderedAs = "PDF") When I print it using Windows+P command/ Print Symbol and save as PDF, then document is getting ...
0
votes
1answer
77 views

Remote Objects do not work when rendered as PDF?

I want to use Visualforce remote object to retrieve data and display it as PDF. I use this code. <apex:remoteObjects jsNamespace="RemoteObjectModel"> <apex:remoteObjectModel name="...
0
votes
0answers
336 views

How to make header and footer repeat on visualforce page rendered as PDF [duplicate]

As I need to format a document that is going to be printed, and it is generated as PDF through the platform: How can I make the header and footer of the document repeat every page, regardless of the ...
0
votes
1answer
538 views

Richtext area field (with Image) in VF page to be rendered as Doc file

I have a richtext area on Account object. This field as some text and an image etc. This is my simple visuaforce page to get the page as a doc. <apex:page standardController="Account" contentType="...
4
votes
2answers
463 views

How to display “₹” indian rupee symbol in visualforce page which is rendered as PDF?

I'm able to display "₹" Indian rupee symbol in the visualforce page either by hard coding or by using some 5 digit code. But the same VF page when rendered as PDF "₹" Indian rupee symbol won't display....
1
vote
0answers
103 views

“mailto” link not working when visualforce page is rendered as pdf

Firstly, I went through simimlar question posted here on SE but i believe it speaks as mailto link not working in visualforce page. For me, it is workng perfectly fine as expected n visualforce pages ...
1
vote
0answers
299 views

Lightning renderAs=“pdf” default save button

I'm trying to create a PDF with a small preview. So using a visualforce page to show the pdf and using the default 'save' button. When rendering the page without renderAs="pdf" and including the js ...
0
votes
0answers
47 views

How to save table with all columns as pdf in visualforcepage?

I am trying to save table as pdf with all columns but it is only taking few columns in pdf, I also tried with different table width sizes but not getting, How to achieve this? Page 1 <apex:page ...
0
votes
2answers
130 views

How to save all columns of pageBlocktable in visualforce page as pdf?

I am trying to save my page as pdf, My page having Pageblocktable with 16 coloumns, When i try to save using code, it is just displaying only some columns in pdf. How to save all cloumns in pdf? ...
0
votes
0answers
28 views

apex repeat not working in content type doc

The Output works fine in PDF, but not in Word, Apex:Repeat is not rendering the contacts in a word document. Could someone give me suggestions as to why it is not working? <apex:page ...
1
vote
1answer
393 views

Javascipt component not coming render as pdf [closed]

I am working on a visualforce page and have used javascript to add a row dynamically. All are coming in the pdf except that javascript column. Below is the javascript sippet that is not loading: <...
0
votes
1answer
53 views

apex:repeat render as pdf cant format based on css tags for table or td or th or span

.bPageBlock .pbBody table { min-width: 90% !important; max-width: 90% !important; width: 90% !important; margin: 0 auto !important; } .bPageBlock .pbBody td { width: 45% !...
0
votes
0answers
799 views

Save current VF PDF page in document

I build a VF page render as PDF. This page contains Case field and image from other service. Now I want to save the PDF after the page is fully render in one document folder "Crash PDF" and than ...
1
vote
1answer
157 views

Protect a generated PDF

I've been looking in many sites and I didn't find an answer. Is it possible to password protect a PDF generated with "renderAs = PDF"? In a negative case I need to find another way to protect my PDF ...
0
votes
2answers
3k views

Print/Download PDF from VF Renderas=PDF in Lightning Experience

I have created a VF page with renderas=PDF and added it as a quick action on the Account object in Lightning Experience. When I click the quick action, a PDF view displays and is correct. How can I ...
0
votes
1answer
342 views

Visualforce page rendered as pdf - fields not displaying

I have a visual force page that I am rendering as a pdf, the page is reached by clicking a custom button on the object. My issue is that when I open the pdf I can see all fields on the pdf but when ...
1
vote
1answer
336 views

Visualforce RenderedAs=“pdf” is not working as expected

I have the following code :- <apex:page controller="ReportsController" showHeader="false" sidebar="false" title="Valve Sizing Data" name="Sizing Data" applyHtmlTag="false" renderAs="pdf"> The ...
0
votes
1answer
280 views

how to make the link active in pdf when we render the visual force page as PDf?

apex page: <apex:page standardController="Opportunity__c" extensions="OpportunityController" renderAs="pdf"> <apex:form> <apex:pageBlock> <apex:pageBlockSection title=...
0
votes
1answer
293 views

Salesforce Visualforce PDF error on renderAs ='PDF'

Repost due to delete from other post. This question will have the answer shortly. Hopefully this does not get deleted. Annoying when trying to add value to the community and people delete the post. I ...
5
votes
1answer
1k views

Question regarding default Salesforce client certificate being retired

I just received an email informing that the default Salesforce client certificate (proxy.salesforce.com) will retire on August 7, 2017 at 09:30 a.m. PDT (16:30 UTC). They say customers using the ...
2
votes
1answer
701 views

Render whole div in one page using renderAs PDF

I'm trying to create a page that will be rendered as PDF to the user, and this page is supposed to display a document that has a text that can change depending on what is typed on a rich field text on ...
1
vote
1answer
325 views

Zoom / Scale down the entire visualforce page when rendered as pdf

I'm trying to scale down the entire pdf generated from VF page using rederAs="pdf". Using transform: scale(0.9) works only when page is not rendered as PDF, when rendered as PDF this attribute seems ...
0
votes
1answer
430 views

Status=Unauthorized, StatusCode=401

I have a requirement to attach visualforce pdf to Notes and Attachment when record gets inserted.I have followed similar steps from this blog. https://jungleeforce.wordpress.com/2014/06/11/generate-a-...
2
votes
3answers
613 views

Header Image in Visualforce PDF

I am looking to embed an image in a PDF rendered in Visualforce. The goal is to have the PDF look like it's on a letter head. I've tried a number of different approaches to this but can't seem to find ...
0
votes
3answers
167 views

Variable value with get and set gets re-initialised when constructor is called

I am facing very unusual and silly issue. I have a vf page with render as pdf based on a condition. The page contains two tables. I am hiding first table conditionally so that second table can ...
2
votes
1answer
180 views

Styles code appearing when page rendered as pdf

I have a visualforce page which i am rendering as a pdf. <apex:pages> <style> .cke_contents { height: 100px !important; } </style> &...
4
votes
1answer
1k views

External Image Link Broken when Rendering as PDF

When referencing an external image in a Visualforce PDF rendered image, the image is displaying a broken link. It works perfectly without the renderAs="PDF".
1
vote
1answer
151 views

Last trailing blank PDF page gets added, need to remove

I have below last element and trying to remove the trailing blank pdf page added. It is not working. Can someone please let me know how to deal with it? Apex Page Last element .....<td width=...
1
vote
2answers
383 views

renderAs PDF for specific block

I'm using code to save page As PDF, with custom save button. but what If I need more than one save button in the same page and each button will save part of the page?? How can I handle that issue ? ...
0
votes
1answer
470 views

Apex Repeat issue with Render as PDF page

I have below Page where same data repeats in multiple Pages of same PDF. But though in first page all data placed fine it's alignments changes in latter pages. Can someone please let me know the issue?...
0
votes
1answer
64 views

create multiple form pages of same data in one apex page

I have below VF Page working fine. But I need to repeat this form multiple times in the PDF Page based on User input integer variable value. Please let me know the way it can be made possible? Apex ...
0
votes
1answer
462 views

Increase PDF height to show in one page

I have an HTML used Apex page which has renderas PDF tag for PDF conversion. But the content is too long and coming in two pages. I need to keep it in one Page. Can someone suggest a solution? Apex ...
0
votes
1answer
685 views

font color not working for Apex renderas PDF page

I have below code where I need a rectangular box with text in white inside it. Box shows fine but text fails to read color #FFFFFF. Can someone please help? <div id="rectangle" style="width:1300px;...
0
votes
1answer
730 views

HTML Page renderas PDF misplaces alignments

I have an apex page where I am using HTML tags mandatorily. Here , I need to convert it to PDF. Using renderAs PDF is misplacing the alignments and messed up in Apex page. Please find my Apex Page ...
0
votes
1answer
1k views

Getting “PDF generation failed. Check the page markup is valid.” Error from tables?

I'm working on what should be a relatively simple PDF Quote page using visualforce. For some reason I have run into an issue where no matter what I try I keep getting an error that the PDF Generation ...