The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
67 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 ...
2
votes
2answers
59 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 ...
0
votes
2answers
88 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
69 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
82 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 ...
2
votes
2answers
75 views

SalesForce Mobile SDK how to generate quote PDF programmatically?

I am creating a mobile app using Salesforce MobileSDK with Hybrid approach (using phonegap and Jquery Mobile). I have a need to generate Quotes programmatically. I know how to do this. But, I am not ...
2
votes
2answers
170 views

Can users upload PDFs, Word Documents, etc. into Salesforce, possibly through the Text (Rich) field?

I know that by using the text(rich) input field on an sObject, users can upload images if a <apex:textarea ... richText="true"> is available on a VisualForce page. Is there a way to enable users ...
1
vote
1answer
52 views

Print multiple CRM content PDF files at once

My client is using CRM Content to store PDF documents. I have created a VF page to present content in a tabular form with a 'print' link to circumvent some of the awkwardness of the standard SFDC ...
4
votes
3answers
179 views

pageblocktable rows spanning over page breaks when rendered as pdf

I have a pageblocktable that is being rendered as a pdf. The PDF is set as A4 landscape with small margins and page numbering in a style sheet. The problem is that rows in the pageblocktable span the ...
1
vote
1answer
55 views

Customizing Quote PDF template

We are trying to use out of box quote PDF template. We want to have 2 sections for line items for example 1 for services and another of products. Have any one done some thing like this? I have ...
2
votes
2answers
128 views

customize create pdf on quote based on a field on Quote

I have a custom field on quote which is a checkbox. I need a way to allow or disallow the pdf creation based on this field If the checkbox is true then only allow the create pdf to fire otherwise ...
1
vote
1answer
88 views

Visualforce: Rendering PDF with international characters and bold/italic - Arial Unicode MS not working

I just had the problem to create a VF page that renders as a pdf and outputs polish text. The only font that supports polish characters is Arial Unicode MS but with this font, I can't output bold or ...
4
votes
1answer
65 views

How can you populate a PDF form and display it within SFDC?

Let's start with an existing PDF that has fillable form fields. The end goal is to populate those fields with SFDC data and display the PDF in the browser. What I've tried so far: I've created an ...
2
votes
2answers
564 views

Question on rendering pdf using visual force

I have an issue rendering a pdf using visual force. It is a form with multiple rows and each row has multiple columns on it. There is a need to create borders around specific text around it. I am ...
1
vote
2answers
259 views

Make visualforce page (pdf) available outside Managed Package

Is it possible to exclude a visualforce page that will be used for rendering a PDF from a managed package? The reason is, we have a standard PDF layout, but we want to give our clients the ...
9
votes
2answers
417 views

Convert HTML to PDF in APEX

I am trying to convert an HTML email that is sent to an Email Service into a PDF file. Some of the options I have explored: attachment.fileName = fileName + '.pdf'; attachment.mimeTypeSubType = ...
2
votes
1answer
101 views

What's the opposite of PageReference.getContentAsPdf?

For printable documents I usually want PDF output, but occasionally want to revert to HTML. Is there some mechanism to achieve "PageReference.getContentNotAsPDF"?
7
votes
2answers
503 views

Display PDF with Visualforce

I have a PDF which is retrieved via web services calls. The PDF is sent over in a base64 encoded string. I would like to be able to visit a page and output the result of this request. Currently I am ...
2
votes
1answer
61 views

How to create letter with related data?

I want to create a letter that can be sent via email or saved as PDF (or in the worst case exported as csv). The data for the letter comes from the following related objects: The important object ...
2
votes
2answers
302 views

How do I convert a visualforce page to a PDF?

How do I convert a visualforce page to a PDF? Please provide a code sample.
2
votes
2answers
177 views

Object not found issue in PDF Attachment visualforce page for an email

We have a scenario where we have to add dynamic content in attachments from apex. On click of a button, I insert a list of Contacts. And in the next line, I pass it's id as parameter for a visualforce ...
2
votes
2answers
80 views

Issue in VF page with embedded pdf in mobile browsers

I have a problem with rendering pdf documents using tag in VF page in mobile browsers. Please, look, this is code of VF page: <apex:page id="thePage" controller="myctrl" action="{!doAction}" ...
6
votes
2answers
386 views

How can I specify a file name for a Visualforce generated PDF

What can I do on a Visualforce page that is a renderAs="pdf" that will result in the name of the file that shows up when the user clicks Save As... to not be the name of the Visualforce page. The ...
2
votes
1answer
288 views

renderAs PDF: Margin Problems

Good Day, I'm having trouble with renderAs in a Visualforce PDF   developed a HTML to generate a pdf from a custom object, this would cover that contains HTML fullscreen but visulforce are putting ...
7
votes
3answers
768 views

How to download a VF page as PDF and email it from a trigger?

I have a renderAsPDF VF page that takes an object id parameter as part of the URL string. It returns a PDF with some textual data and some images (e.g. <apex:image id="theImage" ...
3
votes
2answers
470 views

Can't use getContent() in a batch, future method, trigger etc

I have a VF page which has a method in the controller that generates PDF and sends it out via email. It's all working fine when I trigger off the method from a custom button on the page, which is the ...
7
votes
4answers
621 views

Is it possible to use images in Visualforce generated PDFs which are not static resources?

I'm trying to generate a Visualforce PDF (renderAs) with a variety of images from different sources includes Salesforce Attachments and Documents, as well as third party sites. So far I've only been ...