Queries that involve complex relationship can be handled easily using List Methods.Continue reading “Salesforce Apex : Dynamic SOQL Querying with uncertain relationship”
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
(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:
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!
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
To display files of Parent Record in Child Record as a Related List, you can make use of
Salesforce’s SObject – ContentDocument supports only SELECT and DELETE operation. However INSERTing the document may be needed for writing Unit Tests which is not supported. There needs to be a workaround for it.