Portable Document Format (PDF) is a file format used to present documents in a manner independent of application software, hardware, and operating systems.

learn more… | top users | synonyms

0
votes
0answers
18 views

I want a button of quote create pdf on account [on hold]

I need exactly the same button on quote so that it can generate a pdf and send it via email
0
votes
0answers
23 views

Generate a pdf file of the record on save and attach it to the record itself? [on hold]

I need to Generate the Pdf file of the record after saving and attach it to the record itself(on click of save button). The pdf file has to be updated with the date and time after every edit. I have ...
0
votes
1answer
8 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 ...
0
votes
1answer
23 views

How to get access to Quote PDF from backend

on Quote page we have list of PDF generated for the current quote. Is there any mechanism I could have access to pdf files from apex class? (I mean from backend). Thank you.
1
vote
1answer
35 views

visualforce page as PDF - unicode font bold characters

I am creating PDF page in salesforce and I have to use cyrillic characters in page. As font I set up 'Arial Unicode MS' in css, because cyrillic characters are not rendered with other fonts. But I ...
3
votes
2answers
72 views

pageBlockTable - row number variable is not incremented

I am creating PDF page (in html page not working too), I have pageBlockTable in it. I need to display row number in first column. I found solution to use apex:variable and increment it. ...
1
vote
1answer
42 views

How to display VF Page Content as PDF on button click

As I am in need of display the content of VF page into PDF on button click.How to generate VF page contents as PDF ON BUTTON CLICK using Java Script . Here is my code: <apex:page > <html ...
0
votes
1answer
34 views

Query results in class not showing on Visualforce page

I'm trying to display a page rendering as PDF with the information that I have in a custom object, I'm getting this error "Unknown constructor ...
0
votes
0answers
27 views

Custom button for PDF Quote using a default template

I used the code that it was post it on this forum ( Rendering a VF page as PDF and saving it as an attachement ) but I get the following error "A problem with the OnClick JavaScript for this ...
1
vote
1answer
25 views

Generate Quote - Merge Documents

We're trying to streamline our quote to cash system a bit and are migrating to Salesforce quotes. One of the things our sales team is asking for is that we have the ability to do the following: ...
1
vote
1answer
39 views

Record Name Not Displaying in PDF Using Apex and Visualforce

I am trying to display the record name, which is specifically, the standard field Name (It has a label Book Number) in my PDF. Every time a new record is inserted, it must automatically send an email ...
1
vote
2answers
44 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 ? ...
3
votes
1answer
37 views

Field Values Not Displaying in PDF Using Apex and Visualforce

I am currently working on a visualforce page that is supposed to display values in PDF upon saving. But unfortunately, I am unable to fetch what I've inputted in the form. Meanwhile, here's the ...
1
vote
0answers
23 views

apex:dataTable render as pdf headers [closed]

I have an apex:dataTable on a Visualforce page that is rendered as pdf. What I am after is having the table headers on top of each page when data is large enough to be over multiple page. Is this ...
0
votes
1answer
28 views

Table Breaking in Pdf format

I am rendering my page as a pdf but when the data gets larger my table's format is breaking. I want a closing line in each page of my pdf whether the data is large or going to next page. Can Someone ...
0
votes
1answer
43 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 ...
2
votes
0answers
76 views

Visualforce PDF page break doesn't work

I'm creating Visualforce page rendered as PDF and struggling with page-break. I have a really long table which is stretched across 5-20 pages. The rows are rendered using apex:repeat. Source for ...
0
votes
1answer
29 views

Email class fails to trigger email

I have below email class that fails to trigger the email class. I am not getting the reason in debug log even. Can someone let me know where I am making the mistake? Apex class method public ...
1
vote
1answer
38 views

Remove leading blank page in Apex PDF page

I am getting a leading blank page in below PDF. Can someone let me know how to remove that? Apex page <apex:page renderAs="pdf" standardStylesheets="false" doctype="html-4.01-strict" ...
1
vote
0answers
27 views

Split a PDF apex page into separate PDF pages based on pagenumber

I have an Apex PDF page which I need to email to logged in User. Now when Page number exceeds 10 , I need to send in a separate PDF. Like if I have 15 Pages, PDF1 will have 10 pages , PDF2 will have 5 ...
0
votes
1answer
26 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 ...
3
votes
1answer
78 views

Parsing PDF file attachments

I have have pdf files uploaded as attachments in Salesforce. Is there any a way (an app on App Exchange) that would allow me to parse contents of pdf files, preferably as xml or json. The files ...
4
votes
1answer
78 views

Print lightning component to PDF

I've got a lightning component who looks like a web page. The user wants a button to print that as PDF. I didn't find solution, though I did try some things: Build a visualforce page with my ...
0
votes
0answers
24 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
35 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" ...
0
votes
0answers
31 views

PDF Download fails from dynamic component

I have below apex page , where when I keep some text values easily PDF download operation working. But it fails to do same when content called from a component value. Can someone please suggest a ...
0
votes
0answers
31 views

PDF Generation failed error for HTML Apex page

I have below HTML used apex page which encounters PDF Generation failed error. Can someone help me here? Apex Page <apex:page showHeader="false" standardStylesheets="false" sidebar="false" ...
0
votes
2answers
118 views

Alternative to renderas PDF for converting an HTML to PDF in apex

Is there any alternative or work around to HTML to PDF convert in apex? Please help and provide your suggestions.
0
votes
1answer
59 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
0answers
67 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 ...
0
votes
0answers
14 views

How Can I query body of a Quote as a PDF file and add it to an existing String List

I have an String type of List, and I am querying Document and adding the body of that document to my list, how can I add the PDF file that exists in a Quote to that list . List<String> blst = ...
3
votes
0answers
26 views

&nbsp; in PDF is shown as square

I have this page <apex:page showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" ...
2
votes
1answer
85 views

“PDF generation failed. Check the page markup is valid.” caused by a single table?

I am generating a quote page to show information regarding the client and have run into an issue where the table I use for formatting the information's location is somehow causing the PDF to fail ...
5
votes
2answers
320 views

How would I create a PDF in salesforce on any object WITHOUT using ANY code [closed]

Business case - So I have to create invoices (not quotes) in PDF format from opportunities that contain a whole lot of account and opportunity object fields. I dont want to use VF or in-fact any ...
0
votes
3answers
85 views

PDF from Httpresponse

I am trying to get a pdf from a httpresponse. Currently I am doing this by: public Blob getPDF(){ Http h = new Http(); HttpRequest req = new HttpRequest(); String url = '...endpoint that would go ...
1
vote
1answer
42 views

Need to remove unnecessary Space from PDF (Using VF page)

I need to remove unnecessary Space from PDF (PDF is generated by VF page), I don't know why and from where it should be displayed, Help me out from this issue. please have a look into the screenshot ...
11
votes
4answers
342 views

Download Invoice PDF's On List View without saving to Notes and Attachment as a zip file

Scenario: Am having Invoice__c Object. On the list view I have download button to download the selected invoices PDF's. What my below code is doing is it is after fetching the selected records id's of ...
0
votes
2answers
41 views

Multiple Download on List View of Invoice Object

I need to achieve multiple download on list view of Invoice object. Requirement: Invoice Object has Notes and Attachments Related list. If Notes and Attachment is not null for Invoice Record then it ...
0
votes
1answer
65 views

How to generate a PDF for an SObject without using Visualforce

How do I print the selected records fields and values as PDF on the flow of Apex. I don't want to create seperate visualforce page and getContentAsPDF(). Am on the Custom object record and i want to ...
0
votes
0answers
59 views

Email newest/latest quote PDF as attachment when created

We are using standard Salesforce quotes. When a new quote PDF is saved to the quote, I would like to ideally email this as an attachment, or at least a link to view the PDF, to the opportunity owner ...
3
votes
0answers
37 views

Merging multiple pdf files

I was just wondering if anyone has created a method to merge 2 or more pdf files into one single pdf using Apex. I basically want to give the option to users by uploading or selecting few different ...
1
vote
2answers
144 views

getContent returns PDF that consists of blank pages

I have a Visualforce page that generates a PDF document (it contains renderAs="pdf"). If I use the URL of the page directly and supply some parameters, it works brilliantly. Embedded images, the Arial ...
1
vote
2answers
37 views

Can the list elements be generated as a PDF and be sent by mail?

I'm pretty new to apex coding and I came across this concept of generating a PDF and mailing it. My question is can a list of elements be generated in a PDF and mailed? Say I have a list of Account ...
1
vote
1answer
52 views

Render a PDF from Static Resources in a VF page

I have a Static Resource that is a PDF. How can I show it on a VF page? I also, want it to be 100% of the VF page. Here is the code I tried that doesn't display the image: <apex:page ...
0
votes
0answers
37 views

Paragraph Sections and Sub Sections Numbering in Visualforce PDF

Am rendering vfp as PDF. I want to show sections and subsections Numbering dynamically to the paragraph for example 1. First Section 1.1 First Subsection for first section 1.1.1 child for ...
1
vote
1answer
112 views

How to open a html document in browser like a pdf instead of downloading from visual force page

From a visual force page on a button click i am opening documents using following javascript function <button type="button" class="wpsButtonText" onclick="javascript:download()">I ...
0
votes
1answer
101 views

Any solution found for word-wrap in VF PDF?

Searched nearly one day but could'nt find the solution for this. There are lot of questions regarding word-wrap is not working on pdf but none of them have answers. am just fetching the contacts ...
1
vote
1answer
70 views

How do I create a PDF out of a custom object?

I got a Custom Object "Visit Report" with related lists like Attendees, Open Activities, Activity History. I would like to get a PDF file out of all these data that could be send to the Customer ...
0
votes
1answer
34 views

Visualforce PDF not rendering some of the polish characters (Urgent)

I have generated a pdf using visualforce. In generated pdf some of the characters are not getting displayed.in word "wiadomości", this "ś" is not getting displayed. i tried by puttiong ascii ...
0
votes
0answers
23 views

salesforce Report in pdf

I need to show the salesforce standard report in pdf format. please help on this as I tried getting the report into visual force by using <apex:page showHeader="false" sidebar="false"> ...