You need to sign in to do that
Don't have an account?
Ralph Pence
Exclude data from VisualForce Email?
I'm trying to make an email that will be sent out to contacts with open activities. I want to display their activities that are only related to the custom field Applications__c. Right now it displays all open activities related to all fields. I'm pretty new to VisualForce so I don't know where to go from here. Here is my code:
<table>
<apex:repeat var="cx" value="{!relatedTo.OpenActivities} hide ">
<p><b>Follow-up Task for Application - <i>{!cx.What.Name}</i>:</b><br></br> {!cx.Subject}<br></br>
<b>Follow-up Date: </b>
<apex:outputText value="{0,date,MM'/'dd'/'yyyy}">
<apex:param value="{!cx.ActivityDate}" />
</apex:outputText><br></br></p>
</apex:repeat>
</table>
<table>
<apex:repeat var="cx" value="{!relatedTo.OpenActivities} hide ">
<p><b>Follow-up Task for Application - <i>{!cx.What.Name}</i>:</b><br></br> {!cx.Subject}<br></br>
<b>Follow-up Date: </b>
<apex:outputText value="{0,date,MM'/'dd'/'yyyy}">
<apex:param value="{!cx.ActivityDate}" />
</apex:outputText><br></br></p>
</apex:repeat>
</table>
Try with below code it will help
Thnaks
Manoj