Skip to main content

Posts

Showing posts from 2019

Create Salesforce DX Project using VisualStudio Code and Salesforce DX

This blog covers a quick starter guide to setup a Salesforce DX Project using Visual Studio Code. It also provides some good links to take this topic further on. Topics Covered What is VSCode with Salesforce DX Extension Pack? How to create a Salesforce Project using DX? Authenticate Project with and existing Org Understand Source Directory Structure Open linked Salesforce Environment through VSCode Question: What is Salesforce DX? Answer : Salesforce DX stands for Developer Experience which provides a new way to Manage Apps and Development of Code in Salesforce. At its core, it implements the idea of Source Driven Development, where developers would not have to login into Salesforce environment for their development. It is a Command Line Interface (CLI) tool. Salesforce DX Developer Guide Salesforce DX Product Site Question:  How is Salesforce DX Project structure different from Classic Project Structure? Answer : Projects created through DX has more granular handl

Salesforce Shield Platform Encryption

This article provides a quick starter guide to implement Salesforce Shield Platform Encryption. Using this guide one will be able to roll-out Encryption Solution within a day or two, assuming one is able to understand the basic concepts of encryption. Use Case Encrypt Standard and Custom fields Search on Encrypted Field Encrypted field to be visible/Read/Write by selected Users E.g. Let's say the requirement is to Encrypt Contact.ssn__c field and make it searchable. Encrypt Contact.Phone field Solution Approach Enable and Configure Shield Platform Encryption in Salesforce Environment Generate Tenant Keys Enable Deterministic Encryption Scheme Other relevant configuration  Enable Standard Field Encryption for Contact.Phone Enable Probabilistic Encryption Scheme because this field is not searchable Enable Custom Field Encryption for Contact.ssn__c Enable Deterministic Encryption Scheme because this field is searchable Enable FLS (Field Level Security) f