+ Start a Discussion
EntelxEntelx 

Filtering in the Apex:Repeat

<apex:repeat var="prod" value="{!relatedTo.OpportunityLineItems}">

I have an email template with apex:Repeat for my product line items. Is there a way to Filter some records

aalbertaalbert

Yes. It might help to include the snippet of visualforce syntax within the <apex:repeat>. What is the criteria you want to use to filter out some Opportunity Line Items?

 

Many of the Visualforce components include a "rendered' boolean attribute that you could specify an IF statement  that can help identify which records to display or hide.