How To: Display Different Values Based on Conditions
Render different cell values based on row-level conditions in lineitemsSOQL.
Problem
Solution
<!--{{!
<lineitemsSOQL>
<soql>SELECT Title, Status__c FROM Contact WHERE AccountId = '{{!Account.Id}}'</soql>
<column render="RECORD.Title==null,No Title Available,RECORD.Title"></column>
</lineitemsSOQL>
}}--><column render="RECORD.Status__c == 'Active',✓ Active,RECORD.Status__c == 'Inactive',✗ Inactive,Unknown"></column><column type="rtf" render="RECORD.StageName == 'Closed Won',lt#span style='color:green;'gt#✓ Won lt#/spangt#,RECORD.StageName == 'Closed Lost',lt#span style='color:red;'gt#✗ Lost lt#/spangt#,In Progress"></column>Important Notes
Pattern Matching
Last updated
Was this helpful?

