function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
twongopenairtwongopenair 

calling {!Opportunity.OwnerFullname} from API

Hello,

I'm currently able to use

{!Opportunity.OwnerFullname}

in custom links to bring over the names of opportunity owners to our local system. Is it possible to call OwnerFullname from the API or do I need to query the User object?

Thanks

werewolfwerewolf
From the API you'd be doing something like

Select Owner.Name From Opportunity Where Id=<whatever the Id is>
twongopenairtwongopenair
Thanks. I appreciate the help.

Tony
Kunal DapseKunal Dapse
!Opportunity.OwnerFullName why to have that exclamatory in beginning in templates when I selected Owner Full Name field