All Questions
8 questions
1
vote
1
answer
559
views
Overcoming Salesforce API Heap Size Limitations in Document Retrieval - Need Advice
I am currently working on an integration project involving the Salesforce API. My project uses an Apex class to call a Quarkus service that interacts with a Document Management System (DMS) on Azure. ...
1
vote
2
answers
7k
views
Generate and download PDF file from Base64 Encode String
I want to create a LWC to download a simple PDF file with a random string. Here is my code:
Apex Class:
public with sharing class PdfLwcController {
@AuraEnabled
public static String ...
0
votes
1
answer
4k
views
How to embed a Salesforce File/ContentVersion into a VisualForce rendered PDF?
I've tried some searching and it's unclear to me if what I want to do is possible in Salesforce. I have an image file attached to a Salesforce Case, and I want to use an <apex:page showHeader="...
6
votes
2
answers
33k
views
How to generate a PDF and have it download from a Lightning Web Component
I'm trying to show a button on a Lightning Web Component, that when clicked generates a PDF and immediately starts downloading it on the browser. The LWC lives in a Screen Flow and I'm currently ...
1
vote
1
answer
6k
views
Convert base64 to pdf and display it in LWC
I have an apex that returns a string, and I want this string to decode it and display it as a pdf to a modal in Lightning Web Component. How can I achieve this?
How can I display the pdf without ...
2
votes
1
answer
5k
views
download base64 as PDF seting a name for it
I'm trying to download a PDF file and I wish to give a name to this file and a extension.
Here is what I did:
Component:
<aura:component
implements="forceCommunity:availableForAllPageTypes"
...
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 ...
2
votes
0
answers
1k
views
Base 64 Content in PDF
We are receiving a base64encoded string from apex webservices and we have to display that as pdf whenever user clicks on a button. currently we have the below code
var isIE = false || !!document....