Category: How to's

How Upload Custom Metadata Type from CSV

How Upload Custom Metadata Type from CSV

March 23, 2026

Sergey Trusov

Salesforce said no to Data Loader for custom metadata. Here is what actually works. The first time most admins try…

How to write Unit Tests with Service Locator

How to write Unit Tests with Service Locator

October 21, 2020

Sergey Trusov

Step-by-step example how to write Salesforce Apex unit tests using the Service Locator pattern.

Salesforce Unit Test Best Practices

Salesforce Unit Test Best Practices

September 11, 2020

Daria Savelieva

TrueSolv guide to Salesforce Apex unit test to validate logic and keep deployments reliable without SeeAllData.

How to increase code coverage quickly in Salesforce

How to increase code coverage quickly in Salesforce

September 4, 2020

Sergey Trusov

TrueSolv explains Salesforce Apex code coverage for deployments and AppExchange packages for safer releases.

How to develop flexible Apex code for Salesforce

How to develop flexible Apex code for Salesforce

August 27, 2020

Sergey Trusov

Day-to-day developer work related not only with writing new functionality but updating existing ones. When a developer tasked with adding…

How To Send Custom Desktop/Push Notifications In Salesforce

How To Send Custom Desktop/Push Notifications In Salesforce

August 19, 2020

Sergey Trusov

Everyone knows that it is so important to send notifications when important events occur. For example, alert an account owner…

How to invoke Apex from Lightning page layout without modal

How to invoke Apex from Lightning page layout without modal

August 13, 2020

Sergey Trusov

In some cases, you need to place a button to Standard Salesforce Layout to invoke the Apex method without any…

How to fix the caching problem in Salesforce Lighting Component

How to fix the caching problem in Salesforce Lighting Component

July 17, 2020

Sergey Trusov

Salesforce trying to optimize performance by caching components on the client-side. This is awesome for the end-users because page loads…

How to Increase Salesforce Governor Limits

How to Increase Salesforce Governor Limits

July 10, 2020

Sergey Trusov

Salesforce is known as CRM with a lot of Limits. Because Salesforce Apex runs in a multitenant environment, the Apex…

How to Build Custom Flexible Rest Architecture in the Salesforce

How to Build Custom Flexible Rest Architecture in the Salesforce

June 30, 2020

Sergey Trusov

The Classic Salesforce platform is designed to use the MVC pattern for developing applications and customizing existing functionality. The benefits…

How to fix 'Error: Incorrect parameter type for function ‘ISPICKVAL()’'

How to fix 'Error: Incorrect parameter type for function ‘ISPICKVAL()’'

June 19, 2020

Sergey Trusov

You can face a strange issue if you create a formula field in Salesforce and try to use standard ISPICKVAL function with Custom…

How to fix ‘Bad value for restricted picklist field’ error

How to fix ‘Bad value for restricted picklist field’ error

June 10, 2020

Sergey Trusov

Users or developers may receive the following error when they attempt to create or update a record in Salesforce: Error:…

How to merge Accounts in Salesforce

How to merge Accounts in Salesforce

May 28, 2020

Sergey Trusov

Data quality is one of the most important things you have to watch to get the most out of Salesforce.…

How To Deploy The Project To Salesforce

How To Deploy The Project To Salesforce

May 14, 2020

Sergey Trusov

Problem: We in TrueSolv do not like Apache Ant because we need to configure it using xml. It looks out of…

Modify Fields Onsubmit In Lightning Record Edit Form

Modify Fields Onsubmit In Lightning Record Edit Form

May 6, 2020

Daria Savelieva

Sometimes you need to execute code before submitting the form and set or modify some fields on sObject. For example,…

Working with cookies from Lightning

Working with cookies from Lightning

April 29, 2020

Sergey Trusov

I want to share with you several ready to use JS functions to working with cookies from Lightning, both Aura…

How To Share Code Between Aura And Lightning Web Component

How To Share Code Between Aura And Lightning Web Component

April 8, 2020

Sergey Trusov

Now you can build Lightning components using two programming models: Lightning Web Components, and the original model, Aura Components. Most…

Salesforce and Google Analytics Integration

Salesforce and Google Analytics Integration

April 1, 2020

Sergey Trusov

Track your Salesforce Leads in Google Analytics is easy that you can imagine.