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
21 views

Attach a dynamic PDF page

I have a requirement to create a pdf page in a new window based on dynamicly created records of custom object Incident__c when an User clicks a custom button. Then mail the PDF to the User. Please ...
0
votes
1answer
28 views

Records truncated end of page in PDF

I have an apex PDF page. There are five different tabpanels to show records. Now when number of records increases the last record of last panel in a page gets segregated to the next page. In such ...
0
votes
1answer
17 views

Rendered in Tabpanel

I am getting an error like PDF generation failed for render in a tab panel. I need to do conditionally show the tab panel. Can some suggest a way out. Please find the snippet from my page here. ...
0
votes
2answers
14 views

Background colored column headers in a pdf apex page without using pageblocktable

I have a requirement to show colored backgrounds for column headers of tables. Can someone suggest a way out without using pageblocktable? Please find my controller class here. public class ...
1
vote
1answer
23 views

Do not Show Image while Printing?

I have a Visualforce Page( Header with Logo-Image + Content) which is rendered as Pdf. This Vf page will be Emailed via Custom Controller Scenerio : When Email is Forwarded I want to Have ...
0
votes
0answers
12 views

How to restrict the data according to the dimension of a table in VF page rendered as PDF

Please consider the following scenario and help me with a probable solution: I am rendering a VF page into a pdf. At a pre-defined location on the page, there is a (using apex:repeat) with specific ...
0
votes
0answers
10 views

Salesforce1 on Iphone6 does not show attachments

One of our users has an iPhone 6 and when using Salesforce1 the attachments on for example an Opportunity cannot be opened. The screen shows the pdf's title, that's all. Is there way to solve this? ...
0
votes
1answer
41 views

PDF editing within Apex/Visualforce

I want to edit a PDF file in the Salesforce Document folder to add some text or background image to it, and then save the changes in a new PDF document. I tried to include the PDF in a Visualforce ...
0
votes
1answer
38 views

can we use single controller in two VF pages?

Here is a scenario where i have a search page for users to select and display the search results. I also have a button to generate the pdf. I have a list of account in the controller which displays ...
1
vote
1answer
66 views

Display limited repeat values in one pdf page [duplicate]

Is there any way of limiting the displayed repeat values in one page? Ex: Display first two values in first page, next two values in the next page etc ? I tried to find a way of doing this but I ...
0
votes
1answer
58 views

Limit number of tables displayed in one page (When using Apex:Repeat), when redering as pdf to avoid page/table breaks

I have the following VF page, but when I render it as pdf the Apex:repeat tables break in the middle to the next page. I'm thinking of limiting the tables displayed in each page to avoid table breaks. ...
0
votes
0answers
39 views

How to use Salesforce PDF Viewer for custom object similar to quote pdf (including save and send email button)?

Need to use custom vf pdf and display that in custom object in salesforce pdf viewer similar to standard quote pdf
4
votes
1answer
101 views

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 ...
0
votes
2answers
34 views

PDF rendering Issue when Break Tag Is Used

I am getting this Issues in Vf Page when rendered as PDF "To" is Taking Spaces This is my HTML Tag <b>To,</b><br/> <b>ABC XYZ Ltd</b> when I Use the ...
4
votes
2answers
106 views

Custom Fonts in Visualforce Page (renderas=“pdf”)

Trying to use a custom font in my visualforce page (rendered as pdf). I have looked at many conflicting articles saying that the only option are the "limited" fonts supported, whereas others say that ...
0
votes
2answers
47 views

SOQL returns outdated records in Visualforce PDF

I appear to have a very weird error. I have a business case where I have a button on an opportunity which generates 2 records (related to that opportunity via master-detail). After those records were ...
1
vote
1answer
35 views

Nested repeats + table + if + pdf = frustration

I have a table on a VF page that allows the users to filter, sort and choose which columns are visible. I accomplish the column visibility by using javascript to change the style to display:none. ...
2
votes
2answers
36 views

Search Text in a PDF file (Attachments)

I am not able to search text in a pdf file tied to attachments(Notes and Attachments) using apex.Here is my apex code. Pdf file contains 'County' text but it doesn't goes into if loop. ...
2
votes
2answers
57 views

Making PDF viewable but not downloadable on customer community

I'm looking for recommendations for the best way to make PDF documents viewable on customer community but not downloadable. I know that Salesforce Content can be restricted that way but I wasn't sure ...
0
votes
0answers
16 views

How to replace standard quote template for visualforce page [duplicate]

I created a Visualforce page in que will be the new model of quote (pdf). How do substitituir to the standard model for this in Visualforce page? I would keep the same features as standard, view the ...
2
votes
2answers
116 views

How to Use below code in apex class PageReference Method

I have a requirement to generate invoices(PDF Files) in my application. So i installed app exchange app "S-Docs" to get it done. But the problem is every time i need to click on the button to ...
1
vote
1answer
33 views

Combine multiple PDF's together and attach them in a mail?

As of now , all i have is a VF page which renders as a PDF and it needs Account ID to be passed to generate a PDF . Is there a way wherein i can group all the PDF's into a single PDF ? Should i change ...
3
votes
1answer
44 views

Sending a PDF from Salesforce through a REST call

How do I send a pdf through REST call out of Salesforce? Should we use sites? Any idea?
3
votes
2answers
243 views

Remove Last Page from the PDF

I have created PDF of Multipage, where in VF page I am using <apex:repeat .......> ///////// some code <div style="page-break-before:always;"/> </apex:repeat> But it adds a ...
2
votes
1answer
102 views

Problem in Calling VF Page as PDF in Salesforce1

visualforce page cannot be called to salesforce1 We have created a visualforce page on a custom object (invoices) that is rendered as PDF to issue the invoice. Our code is <apex:page ...
0
votes
1answer
45 views

Create a multi-page PDF containing detail page views for each record — Give me any example

I want to show all record in one PDF, I have gone this far, I dont know what to do now ! GeneratePDF : is a VF page, which create a one single PDF with a single records detail on one page So, Here ...
1
vote
2answers
54 views

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine

when rendering as pdf some of the image type attachment is not properly displayed whereas rest are fine. Please find my code here : <apex:page controller="Attachments_11" renderas="pdf" > ...
4
votes
1answer
173 views

PDF has no file extension .pdf when generated with visualforce

I am generating a pdf invoice with visualforce, but when it downloads there is no file extension. I have read other questions on SE and tried to simplify the content. Right now the code is simplified ...
1
vote
0answers
49 views

Chatter Feed Item: PDF Preview not working

I have created a feed item through apex with PDF as an attachment. Now the issue is the PDF does not previewed in the default preview option and getting a message in the preview window as given below ...
2
votes
1answer
105 views

Scaling Images in Visualforce PDFs

In our org, users are able to create PDFs with a logo in the header. We're using renderAs="pdf" to achieve this. The problem is we can't control the dimensions of the logos, so we need to scale them ...
8
votes
1answer
93 views

PDF using Static Resource generated from REST doesn't display My Image

I have different ways in my organization to generate my invoice pdf and attach it to my records. My PDF includes a logo stored in a public StaticResource. It works perfectly everywhere except when I ...
1
vote
1answer
93 views

Want to display values in proper order on PDF Document

I am getting the Equipment/Service Level Detail Table values but it"s not proper order. Want to display X1,X2,X3,Y1,Y2,Y3....here displaying X1,X2,Y1,X3,Y2,Y3 in PDF , could you help me? VF page : ...
4
votes
1answer
91 views

How to render Multiple PDFs from a single Visualforce page?

I working on a visualforce page (running a tabular report) with a table (13 columns) and am rendering a PDF as well for this. Firstly, all the columns are not fitting in a single PDF. Secondly, how ...
1
vote
1answer
181 views

visualforce page pdf record data

I have a visualforce renderas=Pdf, I created a button to save them in notes and attachments related list, this work fine, but I can't get the value record information in my attachment. If you can ...
1
vote
2answers
113 views

PDF from Salesforce

I have a requirement to create separate pdf files with informations of HCPs having been called where samples are dropped. I can extract in csv, but how to do that in a presentable format in pdf? ...
1
vote
1answer
33 views

Dynamically generated VFP attach to the Case : Too many Content Calls

I have to save the Dynalmically generated PDF from VFP on the Order Object I am trying to attach PDF in contructor call only For the given code I am getting error : Too many Content Calls public ...
7
votes
2answers
427 views

word-wrap not working with VisualForce PDF generation?

I cannot get word-wrap to work in a VisualForce page, which is rendered as a PDF. There is a table with a column called Comments and this contains a long string without any spaces. The long string is ...
2
votes
3answers
269 views

Visualforce page doesn't renderAs pdf (used as attachment it's blank)

I have a requirement where I need to send an email with attached PDF of Invoice . But I am getting blank PDF. please suggest how can this be rectified. When I add renderAs = "PDF" , I am getting the ...
1
vote
1answer
27 views

Apex UPDATE result is not visible by SELECT happening afterwards

A question to those who may have some background over Salesforce stack. I would like to confirm if my suspicions may be right. In APEX controller I'm doing following set of operations: setting ...
2
votes
1answer
98 views

Visualforce: How to render multiple records, 1/page in a single PDF

I would like to render PDF page base on the amount of record I retrieve using SOQL. example If I have 10 invoice forms, I should be able to render 10 pages in 1 PDF.
0
votes
0answers
16 views

Scrape text from scanned PDF in Apex [duplicate]

Is it possible to scrape text from a scanned PDF in Apex? The goal is to take the contents of a scanned searchable PDF attachment and copy it to the Description field on the Case object.
1
vote
0answers
102 views

Time Limit exceeded when trying to generate the PDF if the custom RichTextarea field contains more than 20000 characters

In the product object, I created a custom field that for inserting the Terms and Conditions. The Terms and Conditions is more then 20000 characters. I also created a function that for previewing the ...
0
votes
1answer
131 views

How can I attach the visualforce page pdf?

I have a visualforce page renderas="PDF". But I need to attach this pdf to a record in custom object. I have custom button to open this pdf but this is just enabled if the checkbox field in ...
0
votes
0answers
41 views

Close table border when table spans different pages in one visualforce page rendered as pdf

I have a table that has borders all around. When rendered with some records, the table spans several pages. I'd like to close the borders where the table has been cut. Currently, if table spans two ...
1
vote
2answers
223 views

Render as pdf make static resource images break in Summer 14 pre-release managed package

When I upgraded my org to Salesforce summer 14 pre-release (Managed Package), all my static resources keep breaking when rendering as pdf (It works absolutely fine in HTML). I have also added the ...
1
vote
1answer
163 views

Custom Button- Create PDF

How can I create a custom button create pdf to add a Email template? I try to use this example: /_ui/core/email/author/EmailAuthor?p2={!Stock__c.Id}&rtype=00Q&retURL=%2F{!Stock__c.Id} But ...
0
votes
0answers
18 views

.'Failed to load document' error after PDF save.? [duplicate]

I am opening a pop up VF page as 'render as pdf'.I have created a button Save and on click on save i am closing the pop window and saving PDf to opportunity. Issue When i am saving the code when ...
1
vote
1answer
189 views

Image not showing in render as pdf..?

I have created a VF page as render as PDF..I am creating PDF from Opportunity and showing all products and total price in PDF..Everything is coming fine except the product image which is coming from ...
1
vote
2answers
132 views

Facing problem with PDF Attachment

I have employee record where I am having a custom Button "GeneratePayslip" after clicking on which I have written a VF page "GeneratePayslip" and on that VF page I select a Month and click generate ...
0
votes
0answers
122 views

Custom create pdf button

I have a custom object stock, and I need the same button like the quotes create pdf button. So if a checkbox is selected select button is available and choose one of two templates and create a pdf, ...