Box Authentication – Getting Access token Using JWT OAuth2.0 in Salesforce

This articles explains how can we authenticate in Box.com using JWT OAuth 2.0. Here is the API details in Box API documentation: https://developer.box.com/guides/authentication/jwt/without-sdk/ Box – Prerequisites Salesforce – Prerequisites Apex Code A). In following implementation, we are not using standard JWT and JWS because it throws error “Signature verification error. The public key identified by …

Box Authentication – Getting Access token Using JWT OAuth2.0 in Salesforce Read More »

Execution of Trigger and Workflow – A practical Analysis

Target Record: A Case record with Status =”New” in Database. There is trigger which updates the value of Status =”Working” in before update event. There is workflow too which updates to Status to “Escalated”. So, we are going to analyze how system behaves in these scenarios: Lets play as below: P.S: In all events, old …

Execution of Trigger and Workflow – A practical Analysis Read More »

Why Before Trigger should not have DML for other objects

if you update or delete a record in its before trigger, or delete a record in its after trigger, you will receive a runtime error. This includes both direct and indirect operations. For example, if you update account A, and the before update trigger of account A inserts contact B, and the after insert trigger of contact B queries for account A and …

Why Before Trigger should not have DML for other objects Read More »

Differences Between Apex Classes and Java Classes

Inner classes and interfaces can only be declared one level deep inside an outer class. Static methods and variables can only be declared in a top-level class definition, not in an inner class. An inner class behaves like a static Java inner class, but doesn’t require the static keyword. An inner class can have instance member variables …

Differences Between Apex Classes and Java Classes Read More »

Case New Page in community: Detect Replay – Spam Protection using Google captcha

It’s very easy to find out endpoint and payload that create Case when you click “Submit” (or any button that create Case) – After that a CURL request can be made and thousands of Cases can be created in a few minutes. There is no out of the box way in Salesforce but we can prevent …

Case New Page in community: Detect Replay – Spam Protection using Google captcha Read More »

What a Salesforce Developer can Learn Other than Salesforce Platform

“Above given technologies are top 8 technologies of 2019. Personally, I would like to learn following of these technologies to boost my career in Salesforce.” AI or Bot: It’s really useful in context with Salesforce platform and extensible and applicable to Salesforce. Knowledge of this can make you different than other Developers. Javascript: It can …

What a Salesforce Developer can Learn Other than Salesforce Platform Read More »

Chrome plugins for Salesforce to deal with Metadata

Here are some of the most popular and widely-used Salesforce Chrome plugins that enhance productivity, simplify development, debugging, and navigation, and improve the overall Salesforce experience for develpers and business users. 1. Salesforce Inspector Reloaded Link: Salesforce Inspector 2. Salesforce Advanced Code Searcher Link: Salesforce Advanced Code Searcher 3. ORGanizer for Salesforce Link: ORGanizer for …

Chrome plugins for Salesforce to deal with Metadata Read More »