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
2answers
24 views

How to approach for this webservice request?

Currently I'm displaying orders and related objects in a visualforce page. The new requirement is: For every order a hyperlink/button will be added. On clicking that button, a related document from ...
2
votes
1answer
38 views

Difference in the PDF generatedby browser and one generated and attached from code

I have a situation where i have a VF page which is generated as pdf from opportunity record and this needs to create a record in a custom object attach the pdf to the custom objects notes and ...
0
votes
0answers
18 views

Quote pdf generating error

I am creating a quote pdf by code( external user click on any button then code will create this) and it is successfully created and attached with quote. But the problem is that when I try to view ...
0
votes
0answers
27 views

Generating multiple VF Page instances

I would like to somehow generate hundreds of PDFs (with embedded images) from a VF Page / custom controller. This requirement is part of a bigger package that is already using a lot of SOQL calls. ...
1
vote
0answers
18 views

Rendering Special Characters in PDF

We are trying to generate a PDF file from a HTML template which has non-english characters. We are using body { font-family: 'Arial Unicode MS'; } as the css for the body. The issue is with the ...
0
votes
1answer
39 views

Generating Custom PDF of records detail page like printable view

![enter image description here][1]I have been trying following code in my VF page <apex:page standardController="Account" extensions="AccController" renderAs="PDF"> <apex:pageBlock > ...
2
votes
0answers
29 views

Email a PDF page to User who clicks

I have a custom button on Custom object Incident. When it is clicked from a particular Incident record a VF page is displayed in PDF format. I need not to show this PDF to the User instead the PDF ...
0
votes
0answers
36 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 ...
1
vote
1answer
51 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
22 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
27 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
27 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
17 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
22 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
52 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
47 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
77 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 ...
1
vote
1answer
77 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
65 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
126 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
39 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
167 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
52 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
38 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
48 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
109 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
187 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
47 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
59 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
280 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
132 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
54 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
62 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
177 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
53 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
133 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
100 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
107 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 : ...
5
votes
1answer
106 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
221 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
119 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
41 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 ...
8
votes
2answers
551 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
312 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
32 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
133 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
110 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
155 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 ...