Salesforce Javascript Developer I (Beta) Study Notes

Sources: Hints for the exam After taking the exam I can give you some hints. It is a very deep technical exam, meaning most of the question give you a piece of code, sometimes quite a lof of lines of code for […]

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 […]

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 […]