Blogs

Insights on Salesforce, AI, and Enterprise Systems

Welcome to Sarfarajey’s Salesforce, AI, and Enterprise Architecture blog. Here you’ll find deep dives into architecture patterns, AI and Salesforce.

Tip: Manage multiple JVMs in Mac with Homebrew

I started my journey to learn Mulesoft Development Fundamentals using Mule 4, which currently supports only OpenJDK 1.8. Current version of java is 12. Thought it might be useful to share how to manage multiple jdk versions in Mac. You don\’t want to downgrade your default jdk to 8 as it might impact other applications. Simplest way to manage is to use a package manager and my choice in Mac is Homebrew. Quoting Homebrew: \”Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.\” Run this from the terminal to install Homebrew, /bin/bash -c \”$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\”…

Read More

Platform Developer II

This week I became Salesforce Certified Platform Developer II, 14th active Salesforce Certificate in my list. This is an item that I always wanted since it was called Advanced Developer. It took me a while to finally nail it. There are plenty of study guides available for this exam, so, I will skip to my exam experience and tips. The format of the exam has changed since the old days of the advanced developer. You no longer need to clear the multiple-choice exam and wait for the assignment and post assignment essay. You have to earn the Platform Developer I…

Read More

Einstein Analytics Single Page Overview

The objective of this post is to put together the overall architecture and basic building blocks of Einstein Analytics. This post excludes Einstein Discovery Insights. Einstein Analytics The Big Picture Basic Building Blocks Data Sources: Source Systems of your data that we will be analyzing using EA Local Salesforce Environment: External Salesforce Environment External System(s) CSV extracts Connection: Connection becomes available once Data Sync is enabled. Without Connection, only the Local Salesforce Environment is available as a data source. Each connection represents one source system. Even if the local Salesforce environment is the only data source, enabling Data Sync decouples…

Read More

JSON Web Token

What is JSON Web Token? JSON Web Token, referred as JWT henceforth, is an open standard method for secure information exchange between two parties. This information may be anything and in this article we are going to explore it for Authorization use case. Actual implementation details of the JWT and working example of an authorization flow is coming soon. When to use it? Authorization: For secure authorization of a client application, from an identity provider, where the authorization server trusts the client application. Information exchange: Securely transmit information between two parties. How it look like? It consists of three parts separated…

Read More

Easy Deployment Using Unmanaged Package & SFDX

I found Salesforce packages to be very useful in resolving dependencies while metadata migration and this comes handy when we are deploying between orgs where we cannot use changeset or due to complexity in project we have to migrate metadata manually. Please note that this is not the use case for continuous integration, where our package.xml file is maintained in a better manner. The following approach will generate the package.xml, all metadata files with all dependencies in minutes and you will be all set for deployment to the target org. For obvious reasons, if there are conflicts with the metadata…

Read More

Provide FLS permission to Profile

Here is a simple tip to check all checkboxes in a page. I found this particularly useful in granting FLS permission to a profile. Go to your profile > Object Settings > The object you want to add FLS to & click on edit button, Open Developer Console. If you are using Google Chrome, it is available in Menu > More tools > Developer Console Enter the following code snippet in the Console and hit enter, [code language=\”javascript\”] var all = document.getElementsByTagName(\”input\”) for(var a in all) if(all[a].type == \’checkbox\’) all[a].checked = \”checked\”; [/code] This will check all checkboxes in the…

Read More

Lock out users during maintenance / deployment

Locking out users out of Salesforce platform for deployment, I used to think not needed at all. Recently I realized, sometimes you have to. There are some straightforward way to do this, like deactivating/freezing users using data loader, lock out all login hours in profile, freeze all users using data loader (UserLogin entity). I like a different approach using login flow. Login flow is a powerful tool introduced in Winter\’15. I found the following properties that makes it a great fit for locking out users,This gets invoked the moment someone tries to login and there is no way to bypass…

Read More

Bring your existing html project into to Salesforce with near zero effort

Sometimes we need to bring in our existing html static content into Salesforce. It may be a help document, some product catalogue or may be something else. As a matter of fact it may be a full-fledged html application with tons of Javascript, jQuery, Backbone, Marionette, AngularJS, Underscore or many other things. Converting this entire pack to Visualforce page is a pain. Here is a small lazy solution that might be of help. In brief, don\’t convert anything just refer it. Here is how,If your entire html source size is below 10MB here is one near zero effort solution for you :)I…

Read More

Salesforce Certified Sales Cloud Consultant

Continuing my quest for certifications I have become a Certified Sales Cloud Consultant last Monday. To be honest this is a bit difficult in terms of my experience with Salesforce Certification so far. There was a lot of use cases that I had to read and digest to be able to answer.This is a 60 question exam of duration of 105 minutes and passing score is 68 percent. Compared to Developer or Administration certification exams, this exam tests your analytic and problem solving skills. You have to be prepared to provide solution to the scenarios. Also in some cases there…

Read More

Becoming a Certified Administrator

Its been a while I am working on Salesforce.com platform and its been a while I have not pursued any certification. I did my first certification (Developer) about two years back. Since then I am dreaming about being Certified Advanced Developer. But for various reasons it didn\’t happen so far. Then I thought why not explore the other certifications. And it finally happened. Yesterday I have cleared Salesforce.com Certified Administrator, aka, ADM-201.Regarding the exam experience, this was an easy to go. I am already working for over 2 years on Salesforce.com platform. For people who are new to the platform…

Read More
1 2 3 4
Scroll to Top