All Questions
13 questions
1
vote
0
answers
173
views
Blank PDF on quote after create from Apex
I have to add funcionality to my class where i can create PDF file on quote.
I'm trying to use code like this :
public static void createPDF(String quote) {
Quote_Setting__mdt quoteSetting = ...
0
votes
1
answer
5k
views
How to open a save as dialog from javascript?
I have a pdf file as a blob in javascript. I want to save the it on my local machine. I am creating an anchor tag, and simulating the click event to download the file.
I want to open the "Save as&...
1
vote
1
answer
1k
views
Use CSS in PDF with Apex
I'm trying to generate a PDF file using Apex only (without using VF).
I'm having trouble using basic css properties like width and height, I tried to include them in the head, tried inline, but ...
2
votes
3
answers
4k
views
Is there any way to convert a PDF blob value to string in Apex / Javascript lightning controller
I am in need of a way to get a PDF to a readable string format so I can search for specific values in the PDF. But from what i've found so far Apex is unable to get the blob value converted into a ...
0
votes
2
answers
3k
views
Combine two different PDFs in single Visualforce page?
I have used below visualforce code to display two pdf in a single page but in the result, I am getting two different PDFs with two sections with iframe.
Is it possible to combine these two PDFs in ...
3
votes
1
answer
39k
views
How to display downloaded PDF blob in an iframe?
I am using a HttpRequest to GET a PDF:
http://www.example.com/path/some.pdf
I am using response.getBodyAsBlob() to store the data into a ContentVersion
I can view the PDF if I open the ...
1
vote
0
answers
813
views
Display a PDF in Salesforce from Blob data
For our project, we need to get a PDF via API from an external private filestore, and display it within a Lightning Component. With the blob that is returned, if I set that to the src of an iFrame, it ...
0
votes
2
answers
20k
views
Save base64 data as Attachment
This has been bugging me for a while. I think I am missing something very obvious.
So from a REST api I am getting a base64 data of a PDF. I am trying to save the PDF as Attachment under an object. I ...
0
votes
1
answer
6k
views
Merging pdf attachments
I am trying to merge pdf attachments and sending it as email. I am able to merge them but the last pdf always get overwrite all the others and send email as one. When I checked my email attachment ...
2
votes
2
answers
3k
views
Alternative to renderas PDF for converting an HTML to PDF in apex
Is there any alternative or work around to HTML to PDF convert in apex?
Please help and provide your suggestions.
2
votes
0
answers
670
views
Embedding an image in PDF attachment using html tags and Blob.toPdf()
I want to add an image to a pdf I am creating and attach it to an email that I send via apex code. I am using html and Blob.toPdf() to make the pdf. I saw this post regarding Blob.toPdf()'s ...
4
votes
1
answer
4k
views
Reading a pdf file in apex controller
I am trying to read a pdf file that is stored in Static resources.The body of the pdf comes in a Blob format, but I am not able to get the blob back to the readable format.How do I accomplish it.
4
votes
1
answer
5k
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 ...