You need to sign in to do that
Don't have an account?
Arpita07213434674092248
Get Note Objects owner name
Hello,
I want to get the owner name of my Notes object. I did <apex:outputField value="{!note.OwnerId}"/> which gives the Owner name but as hyperlink. I do not want the hyperlink.I tried <apex:outputText but it give the id not the name.
I am sure someone must have faced this issue.
Thanks
I want to get the owner name of my Notes object. I did <apex:outputField value="{!note.OwnerId}"/> which gives the Owner name but as hyperlink. I do not want the hyperlink.I tried <apex:outputText but it give the id not the name.
I am sure someone must have faced this issue.
Thanks
list<Note> notes = [SELECT id, Owner.FirstName,Owner.LastName FROM Note];
Instead of {!note.OwnerId} you can do {!note.Owner.FirstName} {!note.Owner.LastName}