New answers tagged

0

You can use this Simple Lightning Component by KK Ramamoorthy to render the PDF from Base64 String inside Lightning Experience. This component uses the PDF.JS library and is very simple to use. You can either deploy the package directly or create the pdfViewer component manually. Here is an example on how to use this pdfViewer component inside another ...


1

I have had the same requirement recently. You can just use <object> tag with data argument that contains your Base64 string: <apex:page id="PDFPage" controller="YourController" showHeader="false" sideBar="false"> <object data="data:application/pdf;base64,{!base64String}"></object> </apex:page>


2

Activities are not enabled for the Invoice object. Go to the Object Manager, and edit the properties of the object to allow activities. Alternatively, use mail.setSaveAsActivity(false); so that no Tak is created. As a side note, you need to create a list of emails, and send then atl at once, or you may reach governor limits. Also, if you change your query,...


0

Like sfdcfox said, a Lookup (Id) is either empty or a valid id. Why wouldn't you just use String.isNotBlank(String id)? It checks for != null and for length > 0.


1

You need to import import { NavigationMixin } from 'lightning/navigation'; and change your LWC name to extend Navigatio Mixin: export default class YourClassName extends NavigationMixin(LightningElement) { // Your code here }


0

If you're invoking the job via the command line in Windows, then you can specify parameters in the command line. To parameter for Data Access name is dataAccess.name. To learn more, check out the Data Loader Process Configuration Parameters page.


Top 50 recent answers are included