5 Killer Salesforce hacks you need to know Right now!

Salesforce packs quite a punch with tons of features and benefits that customer’s love. It is one of the most popular CRMs that will help keep tabs on almost all aspects of an organization’s sales, customer contacts while providing insights into analytics that enhance customer satisfaction and loyalty. Research indicates that nearly 60% of all companies have integrated or have decided to integrate Salesforce Clouds sooner than later. You will be pleasantly surprised by the limitless options when it comes to leveraging Salesforce and its highly customizable interface! However, it can get overwhelming at times for the admins and developers to deliver the superior end-user experience. So here are the top 5 Salesforce hacks that can make life easier for the Salesforce developers.

1. Pre-populate specific Field values when Clone button is clicked

Here’s how

  • Create a custom button with Content Source as URL.
  • Then build a URL as mentioned in the Code Snippet
  • And replace the highlighted field based on your object.
  • For instance, if Opp11 is the order number for Stage field (this can be identified by trial and error method.
  • Both field name and the field value is configurable in custom settings so that user can change the field value or name in future.

Code Snippet without Custom Setting

/{!Opportunity.Id}/eclone=1&retURL=%2F{!Opportunity.Id}&opp11=Estimating

Code Snippet with Custom Setting

OpportunityURLConfiguration – Custom Setting Name

/{!Opportunity.Id}/e?clone=1&retURL=%2F{!Opportunity.Id}&{!$Setup.OpportunityURLConfiguration__c.Field_Name__c}={!$Setup.OpportunityURLConfiguration__c.Stage_Name__c}

NOTE: The above Salesforce hacks apply to Salesforce Classic.

 2.Find the duplicate records and highlight them in opportunity report (the field combination should be unique – Name, Amount and Owner.)

Here’s how

Create a formula field returning text and concatenate the fields whose composite value should be unique (Name + Amount + Owner) and treat blanks as blanks.

  • Create a formula field returning number 1 and treat blanks as blanks.
  • Create a summary report and group the formula field in step 1 and sum up the custom formula field created in step 2.
  • Select Conditional Highlighting and give the value as 2.

Screenshot

Salesforce hacks

Step 1

Salesforce hacks

Step 2

NOTE: The above Salesforce hacks apply to Salesforce Classic.

3. Achieve simultaneous validations that run on client and server’s end

Here’s how

  • Create a custom button calling controller method.
  • Create a custom button to invoke Script functions.
  • Hide the Button that calls the Controller method.
  • Once the JavaScript validations are complete, invoke the Remote Action methods.
  • In Remote Action result, trigger the Action button programmatically.

Code Snippet

function ValidateUploadDocument() {

//JavaScript Validation

//Custom Validations

….

//Once JavaScript Validation is Complete then call the Remote Method

ValidateUploadDocumentRemoteMethod();

}

function ValidateUploadDocumentRemoteMethod() {

//Remote Validation

//Remote Validations

Visualforce.remoting.Manager.invokeAction(

‘{!$RemoteAction.ODS_DocumentController.ValidateUploadDocument}’,

function(result, event){

//Trigger the Action button that calls the controller button

document.getElementById(‘{!$Component.modalForm.uploadDisableButton}’).click();

}

}

NOTE: The above Salesforce hacks apply to Salesforce Classic.

4. Perform a DML operation in DatedConversionRate (one of the objects prohibiting DML operations)

Click here to learn more

Here’s how

  • DML operations can be performed using Out of box REST API provided by Salesforce.
  • The field names can be obtained using Workbench.

Code Snippet

Salesforce hacks

NOTE: The above Salesforce hacks apply to Salesforce Classic.

5. Copy a Rich text area field data from one object to another

Here’s how

  • Create a Flow to update the Rich Text Area

Salesforce hacks

  • Create a Process Builder to invoke the Flow.

Salesforce hacks

  • Activate the newly created Flow and Process Builder.

NOTE: The above Salesforce hacks apply to both Salesforce Classic & Lightning Experience.

Do you have your own set of Salesforce hacks you’d like share? Please feel free to share them in the comments section below.

If you are interested to find out how Salesforce can work smarter for you, Talk to our team!

Recent Post

Salesforce Sales Cloud Spring '20 Features

Reimagine your Sales with new Sales Cloud Spring ‘20 Features

Salesforce has always packed loads of pleasant surprises in their Sales Cloud Spring Releases, and as is the norm, it happened this year too. This edition is focused on delivering

Salesforce Duplicate Management

Salesforce Duplicate Management | The key to cut down the roots of duplicity

Duplicity is the bane of any database.  On average, 40- 50% of a company’s data has duplicate copies spread all across the organization. These copies on a collective scale cause

Salesforce Customer 360 Truth

Keep your employees close and customers closer with Salesforce Customer 360 Truth

Customers are an integral part of any business. Therefore, customer satisfaction is always the topmost priority for any enterprise. To ensure customer satisfaction, one must first have an understanding of

Salesforce In-App Guidance

Unboxing Salesforce Winter ’20 edition| Accelerate the adoption with Salesforce In-App guidance

Along with numerous global events taking place this winter, Salesforce has also released its much-awaited Winter '20 edition. And, as always, Salesforce has exceeded the expectations by a fair margin

Financial Services Cloud

Salesforce Financial Services Cloud | Empower your borrowers with Mortgage Innovation

Loans and Mortgages are key elements of today’s economy and there is a likelihood that every adult at some time or other has been part of this process. With time

New Salesforce Mobile App

Enhanced user experience with the New Salesforce Mobile App

We have been witnessing the tremendous improvements that salesforce solutions have brought to every industry. The New Salesforce mobile app has changed the way organizations are doing business. (more…)

Salesforce Sustainability Cloud

Salesforce Sustainability cloud | Most Eco-Friendly Tool in the Shed

With a steep rise in industrial growth all across the world, every year, the carbon emission rates significantly increase from the previous. Such a scenario has made industrialists worry about

Dreamforce Highlights

Top 10 Highlights of Dreamforce 2019

Hi, all Salesforce lovers!  I know that every one of you would have wanted to be part of the Dreamforce ’19, the event of all events.  Congratulations to the lucky

Keynote Highlights of Dreamforce 2019

It’s the Monday after the world’s largest software conference...Dreamforce! DemandBlue’s team of Customer Success Managers spent the last week seeping in Salesforce’s conference full of keynotes, sessions, and events of

Salesforce Einstein Discovery

Smarter business with the AI-powered data scientist, Einstein Discovery

In this highly competitive market, organizations are constantly trying to analyze their data and make informed decisions to outrun their competitors. That is where data analytics and data scientists play

Leave a Reply

Your email address will not be published. Required fields are marked *