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

1
vote
2answers
23 views

Trouble adding image to Visualforce page rendred as PDF

I'm attempting to add my company logo to a visual force page, which is then being rendered as a pdf, but have not been successful Logo.zip is a static ressource images.jpg is the logo within the zip ...
1
vote
1answer
37 views

Add VisualForce rendered as pdf as an attachement on a record

I have a VisualForce rendered as a PDF, I want to add it as an attachement to my record once created. Any idea?!
0
votes
0answers
28 views

Generating and sending PDF to be signed

I have a custom object named Certificate__c, once a user asks for a certificate, a PDF doc generated and send to the manager to be signed. Here's my code behind. I'm calling it from a trigger after ...
1
vote
1answer
19 views

Sending files (PDF, MS WORD)

How can we send PDF or MS WORD file via salesforce after inserting in it values from my user object. Example: Sending each user (employee) a Salary certificate containing all his information
3
votes
1answer
79 views

Adding a border to a visualforce page rendered as a PDF

I am trying to make a visualforce page with a border that renders as a PDF. Currently, there are 2 sets of tables within the visualforce page, both of which can have variable sizes depending on the ...
2
votes
1answer
45 views

Preloader in Visualforce page and align text in the center

I have added a circle by using the HTML SVG tag in a VF page. When i render that page as PDF, it's not showing that circle. Is there another way to add small circle but also to be visible when ...
3
votes
1answer
51 views

PDF file name issue in apex Send Mail method

I want to add date to a PDF file name. I am sending an email from apex and attaching one PDF file with it. Now I want to set string with dynamic date with it. E.g.... date fromdate = ...
3
votes
1answer
101 views

Rendering a VF page as PDF and saving it as an attachement

How can U render a VF page as PDF and have a button on the page that saves this PDF as an attachment to a record? I want to have a button on my object detail page, 'Generate PDF' which will open a VF ...
1
vote
0answers
49 views

Convert attached pdf to image

I can't seem to find a solution to this anywhere. We have a requirement to convert pdf files that are attached in Attachments to a png or bmp. Are there any apex utilities or such that can be used for ...
1
vote
1answer
33 views

when trying to attach it getting rollback problem

I have created a VF page for generating invoice and from that VF page i am invoking a PDF VF page. In invoice VF page i saved the invoice and pass the parameter to PDF page and trying to display it. I ...
1
vote
1answer
30 views

include an editable textfield in a visualforce email template

I've got a visualforce email template that sends invoices attached in PDF. In the PDF there has to be a blank textfield that users can edit to add comments to the invoice. So the attached PDF needs to ...
0
votes
1answer
216 views

Attach a VisualForce Page, Rendered As PDF to a Record

I have a VF page and on that VF page I select a project and click generate invoice, on that click an new VF page is displayed as PDF. I want to attach that generated PDF VF page to the selected ...
2
votes
1answer
86 views

renderAs PDF in the same page

Is it possible to render a VF page as a PDF inside the same page in specific section ? for example I have page with the following hierarchy, And the PDF will display in the second pageblock, is there ...
1
vote
1answer
40 views

How to put different html tag into VF page basing on condition

I have a VF page. There I have a repeat tag. Inside it I have a component. All this page is rendered as PDF. My intention is to start each object from a new pdf page. I found a <apex:repeat ...
7
votes
2answers
332 views

generating PDF of a record's printable view in batch apex

Some of my users cannot view the Case object owing to restricted licenses. To avoid paying for service cloud licenses, I need to generate PDF snapshots of all Case records using a batch (the are many ...
2
votes
2answers
63 views

Embed vector graphics in generated PDF

I am generating PDF files using a Visualforce page with the renderAs="pdf" attribute. Is there any chance that I could embed vector graphics in the rendered PDF file? I tried using SVG and EPS files ...
3
votes
1answer
121 views

Rich text area field on VF whille rendering as PDF

I am using an rich text type field on VF page and that page is rendering as PDF. My concern is, I am not able to wrap the content of the field. I am using : <apex:outputtext ...
0
votes
1answer
31 views

Joining multiple attachments into a pdf

I have multiple attachments of type image,pdf,text,word etc. I want to merge them into a single pdf. Is it possible?
1
vote
1answer
141 views

Rendering attachment on visualforce page

I am having 2-3 attachment of different type (pdf/image/text etc). I want to display content of all the attachment on single visualforce page. Is it possible? If yes how can i go for it?
1
vote
1answer
191 views

Apex Trigger to send email with attachment getting a redirect page instead

I have an apex trigger: trigger ConsignmentOrderPDFTrigger on Consignment_Order_Request__c (after insert) { for(Consignment_Order_Request__c c : Trigger.New) { ...
1
vote
1answer
40 views

Show name in place of of id on rendered as pdf

<apex:repeat value="{!$ObjectType.Account__c.FieldSets.Page}" var="f"> <td> <B> <apex:outputText value="{!f.Label}: "/></B> <apex:outputText ...
3
votes
2answers
191 views

How do I make a Visualforce PDF respect new line characters?

I have a Visualforce page where I need to show the chatter posts in a PDF. The chatter post is generated by apex code and contains new line characters. I am querying the posts and displaying them ...
1
vote
1answer
56 views

Page break in PDF sending by batch class

I am sending a PDF through batch class. In PDF there are some tables. I want new page every time a new table starts in pdf. How can I achieve this??
3
votes
1answer
119 views

Display PDF Stored in Static Resources in VF Page

I currently have a VF Page that displays a Link to a PDF stored in Static Resources. I am using this VF Page to override standard SFDC help. Users clicks "help for this page" | VF Page displayed | ...
2
votes
0answers
69 views

Multiple column layouts in renderAsPDF vf page

I need to generate a pdf vf page with multiple column layouts. I read there is something in the css 3 specification: http://www.w3.org/TR/css3-multicol/ But when I tried: div.wrapper{ columns: 2; ...
0
votes
1answer
119 views

How to save the Custom designed form as a PDF?

I have created a customer signup form using VF page and Html Tags. In Account object I have created one formula field to reach this form via Account object. If the user reach the form via account the ...
2
votes
1answer
277 views

VF PDF(getContent) generates corrupted PDF while using standard controller

Well lately I noticed a weird behaviour of Pagereference getContent() method while using it with a standard controller along with an extension. So here is bit of code to demonstrate the issue. PAGE ...
3
votes
2answers
304 views

getContent() returns Blob PDF-body in console, but HTML page (rendered like PDF) in Email service code

First at all: Happy New Year to you and your family. I wish you all the best in new 2014 year. And about my case: I use 'MyPdfRenderingPage.getContent();' method to get Blob PDF-body, create PDF ...
4
votes
1answer
225 views

How can I attach a pdf in salesforce email,edit the email body and the changes will reflect in atached pdf?

I want to attach a pdf in a salesforce email by selecting an email template.I have created one visualforce template by which I am able to attach the pdf to the mail.But my requirement is user can edit ...
7
votes
2answers
403 views

How to get the customer signature inside salesforce and generate the pdf?

We have a requirement for Customer Sign-up form. We have created a VF Tab and included VF page for creating Customer signup form. In that Customer Signup Form, we have a field to get the Customer ...
4
votes
2answers
60 views

Salesforce Timing/Cache issue ?? Update record before generating a VF PDF

I have a custom button which generates and sends an invoice pdf. Just before to generate the pdf, if the issue date of the invoice is null, I set the date to today, then I generate the PDF. The code ...
1
vote
2answers
613 views

Not able to get the css working for table

I have created a Pdf in which have a table which have border css. But the table border get display only when it is a VF page the CSS is not working when VF page is renderAs="pdf". I want it to be ...
1
vote
1answer
90 views

Render as PDF on a public site page

I'm developing a visualforce page that is supposed to be rendered as PDF. This page is to be accessed from a public URL. The page has two components. Although I'm facing some problems. if I fill in ...
-1
votes
1answer
86 views

How to save a generated pdf in a specific local drive rather than downloads folder when I save

I am generating a quote pdf in salesforce using VF. When I genearate a pdf this should save inside a given directory in local system. I know this is something strange but anybody has a workaround for ...
0
votes
0answers
116 views

What would prevent an SOQL query to not returning data when execuited in APEX code but return data when ran from Eclipse?

I have an APEX class that executes an SOQL query that returns an sObject. The query is this (as I copied from my debug log): SELECT Paid_To_Date__c, ShippingCity__c, BillingCity__c, ...
9
votes
1answer
261 views

apex charts render as pdf

When using apex:chart if the page has the renderAs="PDF", the charts don't show up at all
4
votes
2answers
480 views

Corrupt PDF when sending as email-attachment from Apex

I've created a VF page that allows users to select a list of custom objects related to a particular case, update some field information and attach pictures to any of these related objects. When done, ...
3
votes
1answer
514 views

Not able to see table border drawn by css when renderAs=“pdf”

I am trying to create a invoice. In this invoice i have used css to draw a single line for table. But the the single line table is visible on Vf page but when we renderAs="pdf" the page. The Line ...
1
vote
0answers
104 views

Generating a Quote PDF after record is locked

In our company, the sale rep. has to go through the approval process and then, when the record is locked, generate a PDF. The problem is that he cannot save the pdf in the quote since the record is ...
5
votes
2answers
477 views

Tab (\t character) Substitute In Visualforce

I am having some difficulty trying to show a hierarchy within a PDF without some of the basic HTML formatting constructs. Below is an example of me trying to format the content using span tags. I ...
2
votes
2answers
669 views

How to access a VF page as PDF within trigger/scheduled APEX

I have run into yet another problem due to restrictions placed by Salesforce. So apparently we cannot make a call to a Visualforce page using getContent() from within a Apex trigger. Currently we ...
2
votes
1answer
604 views

Best way to create PDFs on a schedule?

I'm currently trying to set up a schedule that will create PDF files and save them as attachments in Salesforce. Methods I have tried: PageReference.getContentAsPdf() - works fine by itself but is ...
5
votes
2answers
182 views

Parsing PDF Content

I have a PDF attachment. I want to add the contents of this attachment to another VF page that is rendered as PDF. Is there any way to parse the PDF contents in salesforce, which allows us to parse ...
2
votes
1answer
986 views

Render a Visualforce page as PDF issues

I'm trying to render a HTML table in a Visualvorce page as PDF and I'm having the following issues: I used the CSS below to display the page in landscape but it doesn't work. @page { ...
4
votes
2answers
242 views

Apex & VF Code of Send Quote as E-Mail

I'd like to send my own Quote-PDF as E-Mail and not use the useless Salesforce Quote-PDF function. Problem is, using my own templates I can no longer use the native send Quote per E-Mail button. My ...
2
votes
1answer
447 views

Embedding Dynamic Images in VF Page that renders as PDF

I would like to know how can we embed an image that's got as a response from an external service. It works fine in a VF page but when renderAs="PDF" is given, the image is broken since the page ...
4
votes
4answers
1k views

renderas=pdf not generating borders in html tables

I have a Vf page which i am generating as pdf using renderas="pdf". The issue i am facing is that the html tables i am using in the Vf page dont seem to show the borders. They are visible when i view ...
1
vote
2answers
2k views

Iframe in Visualforce Page - pass Parameters

I have a visualforce page embedded in an iframe into another visualforce page (see below), the iframed pages is a PDF. When I click the custom button preview the PDF, The fields in the PDF are empty, ...
0
votes
1answer
198 views

Iframed PDF visualforce error on save

I want to be able to save a PDF visualforce page into attachments (in a custom object) I created the PDF as an Iframe in another visualforce page (see below parent page, iframe and controller) When ...
1
vote
2answers
939 views

Save PDF to Custom Object

I want to create a PDF on a custom object, and have the ability to save it in a related object. I know I can save it in "Notes & attachment", but I'm wondering if it's possible to create a custom ...