In Salesforce Lightning Community pages, we may have a logic that needs to be implemented in the Lightning Component when URL changes. This can be captured easily using
Continue reading “Salesforce : Detect change in Page URL”
To get the attributes of elements that has been targeted (which element has been clicked), we can use two ways:
Continue reading “Salesforce Lightning : Get attribute of the elements – Event Handling”
Modal popup can be added using SLDS as shown here.
It can be shown or hidden in two ways:
- Using CSS Class
- Using attribute variable
Continue reading “Salesforce Lightning : Show or Hide a Modal”
(FALSE AND ((TRUE OR FALSE) AND (TRUE OR FALSE)))
Wondering how to evaluate this expression which is a string using Apex?
Following class can be used to evaluate:
Continue reading “Salesforce Apex : Evaluate Boolean String Expression”
I had an After trigger in a Grand-child object that does some calculations with Child object and updates the result in Parent object. All the calculation logic were perfectly alright. But the result was wrong!
Continue reading “Salesforce: Making a Trigger to execute at last”
Often times when we display the value of Checkbox or Boolean Attribute, we happen to see true or false getting rendered as its value. When we need custom values (like Yes/No) to be rendered on the screen, you can use
Continue reading “Salesforce Lightning : Display custom values for Checkbox / Boolean”