Dealing with Salesforce rowlocks

Salesforce is a multi-tenant environment, which means that resources are limited and we will need to design our products by taking care of the governor limits. However, sometimes we forget about other kind of restrictions that we have to keep in mind not only in Salesforce, but along other systems that work with databases.

Salesforce rowlocks intro

Read more

How to populate formula fields without inserting/updating a record in Salesforce Apex

How to populate formula fields without inserting/updating a record in Salesforce Apex featured image

Formula fields are read-only fields that are defined by a calculated expression. It’s the most similar thing of a Excel formula that you can find in Salesforce and it doesn’t require strong knowledge to set one. As a read-only field, you cannot assign values to it. That should not be an issue in most of the times, but it could cause you problems when you want to test an apex piece of code.

Read more