You need to sign in to do that
Don't have an account?
Mattias Nordin
Loop opportunity product line items from OpportunityLineItems on an visual force page
Hi,
I have created a visualForce page that displays information from different objects in sales force (copied to the opportunity object via formulas).
Instead of adding the products via a related list i would prefer to build my own. I need to show different columns then i have on the opportunty.
<p><apex:relatedList list="OpportunityLineItems" pageSize="1000"/></p>
How can you loop the line items in any other way?
Hi Mattias - I think you might want to look at the <apex:repeat> controller... example below. Please let me know if I've misunderstood what you're trying to do...
Thanks...
I follow you so far (have seen that example in the help texts) but i'm not sure how to build an array of products. Can you give me an example of a controller that does that?
Im talking about the opportunity products. :smileysurprised: