Configure Salesforce Developer Experience (SFDX) on Visual Studio Code

 

posterIn this blog, I would like to share the steps for configuring Salesforce Developer Experience (SFDX) in my favourite code editor Visual Studio Code for enabling Source Driven Development model. Salesforce DX supports the traditional application development experience with debugging (specifically on apex), CLI (Command Line Interface) Support along with Visual Studio Code.

Continue reading

Advertisements

10 Years Later, Salesforce Introduced the Apex Switch Statement in Summer 2018 Release

Poster 2 basic

This will be a glad news for all salesforce developers who were looking for an apex switch statement for decades to simplify most of the lengthy apex statements. Exactly 10years back there has been an Idea posted on the Idea exchange for this.

IdeaExchange Link – https://success.salesforce.com/ideaView?id=08730000000BrSIAA0

Continue reading

How to convert attachments to files in salesforce ?

Poster 2 basic

Scenario

I have uploaded an attachment (salesfiorce_migration_guide.pdf) to an opportunity record from classic salesforce. The uploaded document record has the following actions where ‘view’ action is a link to download the file.

Screen Shot 1940-02-11 at 5.05.59 PM
Uploaded attachments to an opportunity record

Next, uploading another file (router-sample.pdf) to the same opportunity record using upload file functionality in lightning. The uploaded files in the above and current scenario are shown below.

Continue reading