Get Record Type Id by Developer Name Salesforce has finally provided us with a way to easily get Record Type Id by Developer Name, without using a SOQL query. This new feature comes with Summer ‘18 Release and it should help us write more efficient and reliable code. The old way Let’s imagine that we …
Category: Apex
Permanent link to this article: https://salesforcebuddy.com/2019/01/working-with-record-types/
Jan 28
Salesforce: Cross-Object Formulas
Cross-object formulas are formulas that span two related objects and reference merge fields on those objects. Cross-object formulas can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship. Cross-object formulas also work with lookup relationships. To create a cross-object formula when building a formula, …
Permanent link to this article: https://salesforcebuddy.com/2019/01/salesforce-cross-object-formulas/
Jan 25
Using PMD for Static code analysis for apex
PMD is very well known source code analyzer for Java, android and many more languages. It supports now Apex. You might be thinking how can we make PMD as part of our daily life ? There are many ways We can run static code analysis standalone It can be part of ANT build to generate error …
Permanent link to this article: https://salesforcebuddy.com/2019/01/using-pmd-for-static-code-analysis-for-apex/