Get your own customer support community
 

Can a report-column be used conditionally like a report-body?

I'm trying to implement a basic table report which displays a list of projects build with a scaffolding template. Based on the data value of the project risk, I want the text to be red/yellow/green based on High/Medium/Low. I see here: http://www.customware.net/repository/... you can do conditional display based on text filters, however this doesn't seem to work with report-columns. Is there a way to make this work? Here's what I've got:



{report-table}
{local-reporter:page:children}
{date-sort:data:dueDate}
{local-reporter}
{report-column:title=Project}{report-info:page:title|link=true}{report-column}
{report-column:title=Project Manager}{report-info:data:projectManager|link=true}{report-column}
{report-column:title=Current Phase}{report-info:data:currentPhase}{report-column}
{text-filter:data:riskEstimate=High}
{report-column:title=Current Risk}{color:red}{report-info:data:riskEstimate}{color}{report-column}
{text-filter:data:riskEstimate=Medium}
{report-column:title=Current Risk}{color:yellow}{report-info:data:riskEstimate}{color}{report-column}
{text-filter:data:riskEstimate=Low}
{report-column:title=Current Risk}{color:green}{report-info:data:riskEstimate}{color}{report-column}
{report-column:title=Due Date}{report-info:data:dueDate}{report-column}
{report-table}

 
indifferent I’m confused
Inappropriate?
1 person has this question

The company marked this question as answered.


User_default_medium