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 For Customer Retention

How to Use Salesforce for Customer Retention – 5 Effective Tips

Customer retention is the process of retaining customers and preventing them from switching to some other brand with a similar product or service. It plays a key role in a

Salesforce for Manufacturing

How to leverage the power of Salesforce for manufacturing?

Manufacturing industries are facing immense pressure to modernize operations and reinvent themselves.Gaining visibility into key customer metrics, streamlined collaboration between disparate departments and taking data-led decisions remain key challenges. (more…)

DemandBlue Chooses Vonage as its Preferred Contact Center Partner

DemandBlue Chooses Vonage as its Preferred Contact Center Partner

Salesforce Account-Based Marketing

Account based marketing with Salesforce – 4 proven strategies

Account-Based Marketing is ever-growing and a widely practiced B2B Sales and marketing technique that helps acquire potential companies as your clients with networking.  (more…)

DemandBlue Joins the Pledge 1% Movement, Makes Commitment to Integrated Philanthropy

Irvine, CA, September 1, 2020 - DemandBlue announced today that it has joined Pledge 1%, a corporate philanthropy movement dedicated to making the community a key stakeholder in every business.

DemandBlue announces its partnership with 123FormBuilder

DemandBlue announces its partnership with 123FormBuilder

Benefits of Salesforce CRM

Benefits of Salesforce CRM that will transform your business

Today any growing business firm requires a CRM to manage and retain customers reliably and seamlessly. When it comes to CRMs, Salesforce is the most reliant and widely recommended choice

Salesforce 2020 trends

The best 7 Salesforce 2020 trends for your company

As businesses continue to move business critical apps to the cloud, the demand for cloud services has exponentially risen. Being an undisputed leader in the CRM services segment, this year

Salesforce Einstein Analytics

Re-energize Sales with Salesforce Einstein Analytics

It is imperative to say that data is driving the business world and helping us make critical decisions as it turns valuable data into actionable insights boosting sales and helping

Set up your Custom Domain for Salesforce Community Cloud

A brief guide to set up your Custom Domain for Salesforce Community Cloud

There are a handful of ways to setup a custom domain in . But before you get there, setting up your domain name is considered one of the most basic

Leave a Reply

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