Another Salesforce blog!!!

Salesforce, Apex

SALESFORCE

How to generate Salesforce report using APEX

Favorite

Measure lightning page load times

When using the Lightning Experience, there are some best practices to consider when measuring the time it takes for individual lightning pages to load. There are two ways that you can enable a load time counter directly in the Lightning interface: This setting adds a counter in the top right corner of the Lightning interface […]

Calling API endpoint

Apex class: Javascript code: HTML code: Favorite

Queueable Apex

What is Queueable Apex: Asynchronous operation that combined the best features of future calls with the best features of batch Apex. Queueable Apex is as fast, or faster than regular future calls. And it’s chainable, with certain restrictions. And it’s much easier to use than batch Apex. Queueable Apex jobs have other advantages. They have […]

Send Reports via Email using Apex

Apex code snippet: Favorite

Apex – MAP

Adding a key/value to a Map in a standard way: Map intMap = new Map();intMap.put(‘AA’, 100);intMap.put(‘BB’, 200);intMap.put(‘CC’, 300);for (Integer s: intMap.Values()) {system.debug(s);} Map intMap = new Map{‘A’ => 0, ‘b’ => 1,’C’ => 2}; for (Integer s: intMap.Values()) {system.debug(s);} Favorite

Dynamic CSS in LWC

Favorite

Accessing Elements in the Component in LWC

Favorite

Conditional Rendering in LWC

HTML: I’m visible You can’t see me! You see me!  JS: Favorite

Use Getters and Setters

HTML JS: Favorite

Previous Posts