A re-introduction to JavaScript

JavaScript has been with us for many many years now,  however it’s becoming more and more popular! There hundreds (maybe thoundsands?) of new frameworks that make it easier to build complex and user friendly web applications. We can find Single-Page applications everywhere and JavaScript is fundamental. I wanted to refresh my knowledge about it to to better understand all the […]

Apex Trigger Frameworks

As most of you already know, we should use a trigger framework in order to manage properly the logic that is executed after we create, update or delete a record by using Apex. The main reason is that we cannot control the order of execution of the different triggers that we can have per object. There are a lot of […]

Field Service Lightning

Salesforce released an interesting feature around one year ago for tracking field work. If you haven’t heard about it and you want to see it in action, you can watch the a demo on youtube. It has been getting updates and becoming more and more interesting. If you wish you can take a look into the complete implementation guide, which contains […]

Frameworks for testing Apex Code

I would like to share a couple of framworks that are very useful for testing Apex Code. The first one is Apex Mock and it will become essential for you when it comes to create test data for your Apex Test classes. The second framework is FinancialForce ApexMocks Framework. This one allows you to decouple complex logic and test it separately. I […]

Lightning Experience Roadmap

Within the last two releases we have seen a lot of improvements that we were really waiting for. Now, to me we can really think of using LEX for complex projects but there are still some missing features that we had in Classic.There is a helpful document where we can quickly see all the features that have been deployed recently and […]

Sales Cloud Einstein

You have probably heard about the new Einstein capabilities and how it will bring insights and useful information for being smarter. With Sales Cloud Einstein, your team’s sales productivity is supercharged at every step of the sales process with key predictions, intelligent recommendations, and timely automation. The features that comes with Einstein are as follows: Automated Activity Capture: Adds your team’s […]

Salesforce Spring 17 Highlights

Spring is around the corner and that means good news for Salesforce passionates. The Sandbox Preview window for Spring ‘17 was scheduled to begin January 6, 2017, so we can start playing with the new features. I want to hightlight those I consider the most important ones that we cannot miss. Platform Continue to Be Impressed with Contacts to Multiple Accounts […]

Technical Architect Journey

Salesforce has changed recently the path to get the Technical Architect certification. There was a huge gap between all the other certifications and the Technical Architect certification. Now, you can fill that gap getting the skills required to get there by achieving the new domain specialist certifications and becoming Application Architect and System Architect in order to, eventually, go to the […]

Get code coverage using REST API query

Let’s suppose you need to find all the classes or triggers starting with “MY_” and having 0 lines covered. The REST API query we need would be as follows: /services/data/v29.0/tooling/query/q=SELECT+ApexClassOrTriggerId,+ApexClassOrTrigger.Name,+NumLinesCovered,+NumLinesUncovered +FROM+ApexCodeCoverageAggregate +++WHERE+NumLinesCovered+=+0+AND+NumLinesUncovered+!=+NULL +AND+ApexClassOrTrigger.Name+like+’MY_%25’+ORDER+BY+ApexClassOrTrigger.Name Obviously, it will return a JSON string with the classes and triggers which match the criteria. There are a lot of online tools to view the JSON […]