Salesforce Fact #328 | BR() function in formula
We have a BR() function in Salesforce formula which can be used for inserting line breaks for string values. Suppose, we have a formula field where we are considering the AccountNumber, Type & Rating of account and showing the value of these 3 as each new line.
Now, if any of the value is blank in the record, the line break should also be not shown corresponding to that value. We can achieve this with some condition checks.
Attached are the screenshots.
When all values are present
When Rating is blank
When AccountNumber is blank
Comments
Post a Comment