A Tip A Day #23 – 5 Ways To Stop Trigger In Production

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #23 - FIVE Ways To Stop Trigger In Production In a scenario, you no longer want to use the functionality in your trigger and want to turn it off in your Salesforce production org, as in make …

Advertisements

Dreamforce 2017 Highlights

For the last 4 years at Dreamforce, Salesforce has announced at least 1 brand new product - Chatter, Salesforce1, Lightning, Einstein! But this year, I'm sure you haven't heard a "new product name" so far.  Yes, no new "product name" but Salesforce did announce a slew of new awesome products - all focused on Personalization …

A Tip A Day #21 – PriceBookEntry Creation with StandardPrice

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #21 - PriceBookEntry Creation with StandardPrice We have a Product with a standard price of say $100.  As shown below, in Salesforce UI, it is easy to add a product and add a standard price (related …

A Tip A Day #20 – Deploy while running Scheduled Jobs

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #20 - Deploy while running Scheduled Jobs While deploying an apex class via change sets or Force.com IDE, you sometimes receive one of these error messages - "Schedulable class has jobs pending or in progress" " …

A Tip A Day #19 – Set Currency of User

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #19 - Set Currency of User I have a user whose current Currency is set as SGD - Singapore Dollar Requirement The requirement is now to change the Currency of the user to USD.  Simple? I thought …

A Tip A Day #18 – Rollup Summary Decimals in Database

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #18 - Rollup Summary Decimals in Database Lets say you have a rollup summary field of decimal on your master object record which is a SUM of currency field of your child records. Scenario: For a child …

Lightning App Builder Enhancements – Released in Winter’18

Check out the the other "Lightning Experience features" released in Winter'18. Check out the "Reports & Dashboards" Features of Winter'18 This post specifically highlights the features of Lightning App Builder released in Winter'18! Make Your Lightning Pages Dynamic Now you can control when a component appears on a record page by adding filter conditions and logic to …

Reports and Dashboards Enhancements – Released in Winter’18

Check out the the other "Lightning Experience features" released in Winter'18. Check out new "Lightning App Builder" features This post specifically highlights the features of Lightning Report Builder released in Winter'18! Introducing Lightning Report Builder Lightning Report Builder : Differences Between the Lightning and Classic Report Builders Feature Difference Report Formats In the Salesforce Classic report builder, you …

Sales Cloud Lightning Experience features released in Winter’18

Check out Lightning Report Builder & latest enhancements to "Reports & Dashboards" in Lightning Experience. Check out new "Lightning App Builder" features Lightning Experience Enhancements Lightning Experience Gets a New Look and Feel More information density and less white space Improved legibility (using font size and color) Added color and a background image.  (Setup --> Themes …

A Tip A Day #11 – Workaround for PriceBookEntry Trigger/Workflow

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #9 - Workaround for PricebookEntry Trigger Salesforce has quite a few limitations on Product, Pricebook and Pricebookentry objects. The one that I recently faced on Pricebookentry is that we are not allowed to write triggers on Pricebookentry …

A Tip A Day #10 – ISCLONE in Trigger

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #10 - ISCLONE in Trigger Triggers work on events like Insert, Update, Delete, Undelete.  There are requirements where you need to perform actions on Cloning of records too.  Salesforce has the default method that checks whether …

A Tip A Day #8 – Display Line Breaks of Long Text Area in VF Page

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning!  Day #8 - Display Line Breaks of Long Text Area in Visualforce page. I have a field of type long text area called "Description" in Products object.  The value of this is generally a couple of paragraphs or …

A Tip A Day #7 – US Phone Validation Using RegEx

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning!  Day #7 - US Phone Validation Using RegEx (Regular Expression) US Phone Number :  222-333-4444 String phone = '222-333-4444'; String WrongPhone = '222-333' //This is the pattern that matches with the above phone number format String regExPhone …

A Tip A Day #2 – Display custom popup message while Submitting for Approval

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning!  Day #2 - Display custom popup message while Submitting for Approval Standard Approval Process Feature: When you setup Standard Approval process on any object, a standard button 'Submit For Approval' will be added to the page layout of …

Event: Building Salesforce with ⚡ Lightning Components ⚡

Webinar: Hot Tips to Get You Building Salesforce with ⚡ Lightning Components ⚡ The first in our APAC online workshop series kicks off this August with a super charged session about Lightening Components... Join Master Instructor Rahul Shah to learn more about:  What are Lightning Components? Difference between Visualforce and Lightning Components What should I …

Decoding Trailhead Admin-Beginner Modules

Where to get started in Salesforce? I'm new to this ecosystem, how to learn Salesforce? What is the best way to switch to Salesforce from other technologies? People quite frequently post these kind of questions in Salesforce forums and the most common response to all these questions is an incomplete, one-line answer "Check Trailhead"! Though the answer is right, …

7 Ways to Lock a Record in Salesforce

In this blog post, I'd be discussing the different ways to lock a Salesforce record in UI.  By lock, I mean, the user shouldn't be able to edit the field values of the record.  I have identified 7 ways to lock a record using configuration and coding. There is a general requirement that the Business doesn't …

Salesforce Optimizer – Scan Your Org Customization

Salesforce has introduced Optimizer to evaluate your Salesforce org implementation which determines how your company uses "certain" Salesforce features, then identifies ways that you can improve.  This is available for free for everyone. You can run Optimizer in sandbox/production to receive recommendations to: Improve features Clean up customizations Reduce complexity and Drive feature adoption. Features Evaluated …

Bulk Scheduling Dashboard Refresh using Apex Batch

Good stuff from Cloudy Affair!

cloudy ☁ affair

One fine day, I was browsing through the questions on Answers Community. A gentleman posted that his organization had over 150 dashboards which need to be refreshed simultaneously at a particular time of the day and currently they are doing it manually, which I understood was a tremendous overhead. I thought for a while and started posting an answer pointing towards whats stopping him to schedule a dashboard refresh. But then I thought maybe I should check the documentation and what I found was –

  • “Run Reports” & “Schedule Dashboards” permissions is necessary to refresh dashboard and schedule dashboard refresh respectively. [AB : Ok, thats fine.]
  • Unlimited and Performance Edition users can schedule up to two dashboard refreshes an hour per day. Enterprise Edition users can schedule up to one dashboard refresh an hour per day. [AB : Wooh, Whatttt!]
  • Additional scheduled dashboards may be available for purchase.  [AB : Makes sense, performance…

View original post 825 more words