You need to sign in to do that
Don't have an account?
Noodle
Visualforce Email template filter
I have a custom object similar to tasks called "Actions". I would like to send an email to users once a week to list all their Actions "Tasks", that are late (so with status = Late).
Info about VF email template
....
recipientType = "User"
relatedToType="User"
....
....
<apex:datatable cellpadding="5" var="cx" value="{!relatedTo.Action__r}">
<apex:column value="{!cx.Name}" headerValue="Action Name"/>
<apex:column value="{!cx.Overall_Status__c} = Late" headerValue="Status"/>
</apex:datatable
....
...
In the snippet of the code above, I've put in bold the condition I want to use. Is there any way of doing this?
Info about VF email template
....
recipientType = "User"
relatedToType="User"
....
....
<apex:datatable cellpadding="5" var="cx" value="{!relatedTo.Action__r}">
<apex:column value="{!cx.Name}" headerValue="Action Name"/>
<apex:column value="{!cx.Overall_Status__c} = Late" headerValue="Status"/>
</apex:datatable
....
...
In the snippet of the code above, I've put in bold the condition I want to use. Is there any way of doing this?
But I get Error: Unknown property 'VisualforceArrayList.Overall_Status__c'