Why do you need a Selector Layer?
A Selector Layer centralizes SOQL queries, ensuring consistency, FLS, sharing rule enforcement, and easier testing with mocking. It avoids duplication, supports caching, and simplifies updates, making your code cleaner, scalable, and more maintainable.
Beyond If Statements: Ways to avoid IFs – Polish Dreamin’ 24
Code is a representation of business requirements. Business requirements vary for each company, but most of them have an IF-THEN structure. It’s quite common to see IF statements in our code. However, an increasing number of IFs can make our code hard to read and understand.
Advanced Promises in LWC
How and when to use Promise.all, allSettled, any, and race in LWC? Check out our latest post about advanced promises!
Salesforce Naming Convention
In programming, naming conventions are crucial for clarity and collaboration. Choose intention-revealing names, avoid ambiguity, and maintain consistency to enhance code readability and convey meaningful context to fellow developers.
Format your code with formatting tool
Code formatting across the project should be consistent.Choose a formatting tool, configure it, and stick to it no matter what.
Do not use Ternary operator to return Boolean
Do not use Ternary operator, since comperation statement returns Boolean.
Refs vs QuerySelector in LWC
We have two ways to query DOM elements in LWC: refs and querySelector.Which one is better? Let’s cover it in this post.
Type Casting in Apex
How Apex type casting works? How to cast List in Apex? How to cast Apex Map? Answers to these questions and much more can be found in this post!
Salesforce Flow Considerations
Flows are an amazing automation tool that offers you a lot of possibilities. However it also have a lot of limitations you need to be aware of.
Static in Apex Salesforce
Static variables are a key aspect of apex programming that can significantly enhance code functionality and efficiency.
Then vs Async Await in LWC
then and await are key concepts in asynchronous JavaScript programming. Understand the differences between them and check the best practices.
Country State Dependent Picklist in Apex
How to get a country-state dependent picklist in Apex? Check various methods for your frontend and backend solution.
Salesforce To Google REST API Integration
Integrate your Salesforce environment with Google by REST API. Check the completed integration guide.
Promises in LWC
What is a Promise? How does it work in LWC? What is the difference between then/catch and async/await? Let’s check.
Salesforce SPA using LWC
Create a powerful Single Page Application using Lightning Web Components. The perfect approach for internal and external Salesforce apps.
Apex Test Data Factory
Use Apex Test Data Factory to create Test Data for your Unit Tests. Don’t struggle with data creation anymore!
Abstract, Virtual, Interface in Apex
Find the differences between Abstract, Virtual, and Interface implementation in Apex code. Understand the purpose and make your code better.
Custom Logout in Experience Cloud
Create your own logout UI with Aura/LWC and invoke a standard logout event.
Constants in Apex
With Constants framework you will be able to keep final values in fancy way. Check how to use it!
Apex Debugging
Salesforce provides sophisticated methods to debug your apex code. Check how to use all of them and resolve issues more efficiently.
Custom Types in LWC Lightning Datatable
Create a custom type cell for your Lightning Web Component lightning-datatable.
Salesforce Platform Cache
Platform Cache is salesforce feature, which allows you improve you app performance and improve user experience.
How to get URL parameters in LWC?
Check an easy way to get all URL parameters in LWC and CurrentPageReference from the lightning/navigation module!
Detect “Log in to Community as User” in Apex
The question is “How we can detect that current user is logged in to the community on behalf?”
Showing 25 of 25 results