You need to sign in to do that
Don't have an account?
Andrew Romanov
Opportunity Owner Name
The problem is that the same name is issued many times in a row, how to make it appear only once?
Apex Controller:
public List<Opportunity> opportunity{get;set;}
opportunity = [SELECT id ,name,owner.Name,ownerid
from opportunity];
VF:
<apex:repeat value="{!opportunity}" var="op">
<div>
{!op.owner.Name}
</div>
Hi Andrew,
Have you checked that the owner name for those records are different?
Regards,
Priya Ranjan