The pdf tag has no wiki summary.
2
votes
2answers
61 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
108 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 ...
4
votes
2answers
47 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
106 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 {
...
2
votes
0answers
41 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
133 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
182 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
202 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
109 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
126 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
96 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
273 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
73 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
259 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
116 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
217 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 ...
2
votes
1answer
148 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
90 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
763 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
278 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
535 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
118 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
687 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
63 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
371 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
212 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
87 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
470 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
356 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
839 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
514 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
716 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 ...