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

3
votes
1answer
26 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 ...
3
votes
1answer
30 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
17 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
14 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
13 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
21 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" ...
-2
votes
0answers
21 views

HTML apex page to PDF convert by JQuery [on hold]

Can someone suggest a way out for a HTML used Apex Page to convert to a PDF without renderas attribute by JQuery?
0
votes
2answers
35 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
36 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
24 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
11 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
18 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
24 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
254 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
45 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
30 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
223 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
36 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
48 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
35 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
26 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
88 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
33 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
22 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
36 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
57 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
59 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
36 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
26 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
11 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"> ...
1
vote
1answer
34 views

Filling a third party PDF form with Salesforce data

I have been trying to figure out how to fill a PDF form with contact data and I found a helpful post here. I followed the instructions but it didn't say what to do with the code or how to set up the ...
0
votes
0answers
20 views

Rendering PDF from a picklist and button

So I'm made a VF page, that displays a record accordingly. I have another list of related other records that display on the picklist off to the side. Is there a way I can program a button that queries ...
0
votes
0answers
23 views

Issue with binding variables when two visualforce pages sharing same controller

I have two pages that share the same controller. A button on the first page renders the second page as a PDF and attaches it to the Case. When viewing the attachments on the case, there are no values ...
3
votes
1answer
43 views

hide a table when rendering a PDF

I hope someone can help me. This my code basically I am creating a quote PDF. In this case when there is no training products the table should be rendered in the PDF. And I am able to hide every ...
0
votes
0answers
18 views

Not getting any records in pdf generated pages [duplicate]

I am not getting any records in pdf generated pages.Below is my code.I am not getting where i am wrong.I have "Show products" custom button on opportunity detail page.On click of this button we use to ...
1
vote
1answer
69 views

On click of save record button i need to download opportunitylineitems details as pdf

I have written one VF page,1 extensions on opportunity detail page with show products button.Once i click show products,it will show all products present in that current opportunity.List of products ...
1
vote
1answer
46 views

visualforce page table does not show border using renderas pdf

I am new to Force.com technologies. I was trying to render a table in pdf but its borders are missing. I googled and looked for other answers, but couldn't resolve the issue. My style is inside ...
0
votes
2answers
43 views

Generate RADAR chart in PDF

I'm working on a custom report (Visual Force) to generate specific charts(using apex:radar chart) to our client. The problem is that we have to export the information to PDF format. Using the ...
4
votes
2answers
73 views

Batch Apex and performance

I have a batch class that converts thousands of Visualforce pages to PDFs and stores the PDF files into a folder (in documents). The batch seems to work fine, but the process will take hours to ...
0
votes
1answer
83 views

External URL is not accessible unless whitelisted

Following is the error I am getting on using bootstrap for PDF file generation. External URL = ...
1
vote
1answer
130 views

Bootstrap not working in PDF rendering

Following is my code which is working fine as a VF page on preview, but no styling adding on rendering as PDF renderAs="PDF". Let me know what I am doing wrong as I am new to the platform. Code - ...
1
vote
2answers
27 views

Generating custom PDFs for service orders

This is a somewhat broad question so I'm looking for expert guidance more so than concrete steps to take. I'm looking to create a service order PDF in Salesforce. The main content looks a lot like ...
1
vote
1answer
166 views

Stop blank page being created (because of page break setting) at end of visualforce rendered as pdf

My visualforce rendered as pdf is creating a blank page at the end because of a page-break-after = always setting. How do I stop this blank page being created? I have 4 repeating sections, and after ...
2
votes
0answers
65 views

Make 2nd page blank when render as PDF

I have varying content tables in my visual force page. There will be only one table in first page. But when it overflows, it should extend to 3rd page instead of 2nd page. I am also having a running ...
0
votes
3answers
116 views

Access Document(pdf or doc) without Salesforce login

I have 3 Document records with pdf, word document & image respectively. I need to show the files outside Salesforce(i.e without salesforce login). All of the records have 'Externally Available ...
1
vote
0answers
41 views

Embedding an image in PDF attachment using html tags and Blob.toPdf()

I want to add an image to a pdf I am creating and attach it to an email that I send via apex code. I am using html and Blob.toPdf() to make the pdf. I saw this post regarding Blob.toPdf()'s ...
0
votes
0answers
16 views

Redirect Email as a response to Incoming Email

I have a pdf or word document that I want users to click a button within to send that form to an email address. This email address creates a ticket in SF/RemedyForce. I would like SF/RF to create a ...
1
vote
1answer
90 views

How to attach PDF files into an email

We have a visualforce page, we want to make the visualforce page convert to PDF and saved in document and after that we want to attached the body/document as PDF on email. The problem is that the ...
2
votes
1answer
132 views

Save Pdf as a attachement in Notes and attachment using apex class(Without clicking on Button)

My question is regarding Save Pdf as in Notes and Attachment under the record, So, my issue is, First controller is fill the document(PDF) and Second controller can Save that PDF using that first ...
2
votes
1answer
182 views

Wrapping link in TD tag in Visualforce render as PDF page

I have created a Javascript button, When user clicks on Javascript button it generates a PDF document. I have used renderAs Pdf attribute to generate pdf document from VF page. My problem is I have a ...