A Tip A Day #38 – PageBlockTable Wrap Text

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #38 - Wrap Text in PageBlockTable Columns I have a pageBlockTable on Products.  The table displays Product Name and its Description.  The description field is long text area and generally, the descriptions length is long.  In fact, …

Advertisements

A Tip A Day #37 – Trigger Helper Class

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #37 - Trigger Helper Class I have a trigger that calls an Apex Handler class that does all the functionality of the trigger. The handler class uses static methods.  In our scenario, the handler method calls …

A Tip A Day #36 – Display Image from Rich Text Field in VF Page

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #36 - Display Image from Rich Text Field in Visualforce Page I have a field of type Text Area (Rich)  called Product in a Contact object.  And I upload a picture to the field for one …

A Tip A Day #35 – Test Time Dependant Workflows

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #35 - Test Time Dependant Workflows Here's a workflow rule with Time Dependant actions as in the actions (field updates, sending email etc) happen after a certain time configured in the Time Trigger as shown below.  …

A Tip A Day #34 – Display Case Status Picklist Values

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #34 - Display Closed Case Statuses In the standard Status field of Case object, I have 4 picklist values namely New, Working, Escalated and Closed.  As you can see, the last one is checked for Closed status. …

Named Credentials – Setup | Apex Callout

Are you concerned about exposing the URL to an external system for integration and wish not to do so? Are you worried about sharing the Username / Password to connect to an external system and how to hide it?  Then Named Credentials is the way to go and you are at right place to learn …

Named Credentials – Code | Apex Callout

Are you concerned about exposing the URL to external system for integration and wish not to do so? Are you worried about sharing the Username / Password to connect with external system and how to hide it?  Then Named Credentials is the way to go and you are at right place to learn and know …

Spring 18 Release – All Highlights [PPT]

  I have gone through the huge release notes, providing you the highlights of the release categorizing them into Lightning Experience features, Report Builder and Dashboard Enhancements. Read Spring 18 - Lightning Experience Enhancements Read Spring 18 - Report Builder Enhancements  Read Spring 18 - Dashboard Enhancements Here's the PPT version  

A Tip A Day #32 – Users are unable to change Timezone in Personal Settings

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #32 - Users cannot change Timezone or Language in Personal Settings When I try to change Language and TimeZone settings from Personal Settings, I get this error - Insufficient Privileges error even when I'm the System …

A Tip A Day #33 – Click vs Code

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! A Tip A Day #33 - Click vs Code Salesforce started out as a declarative platform during its inception and continues to provide a rich set of declarative features.  Salesforce refers to these features as “Point-and-click” which helps …

A Tip A Day #31 – Lightning Data Service

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #31 - Lightning Data Service If you are looking for SalesforceDX and Migration to SalesforceDX, it is here Read all other tips of the blog series here - A Tip A Day, daily dosage of learning!

A Tip A Day #24 – 3 Ways to delete an Apex class from Production

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #24 - THREE Ways to remove an Apex class from Production In a scenario, you no longer want to use the functionality in your apex class remove it from your Salesforce production org, so as to reduce the …

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 …

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 …

A Tip A Day #17 – Upload Records with Inactive Owner

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning! Day #17 - Upload Records with Inactive Owner Recently I was migrating few old records into Salesforce using Data loader.  The upload csv file had of course Record Owner field referring to the User record.  I got …

A Tip A Day #16 – Report on Duplicate Records in Salesforce

This post is a part of the daily blog series  A Tip A Day, daily dosage of learning!  Day #16 - Report on Duplicate Records in Salesforce Salesforce has configuration setup to identify duplicate records when users create new records.  While setting it up, you have an option to 1) alert the user about it and …