-
How can i get the owner Name of account object by DML and put at the outputfield of visualForce Page?
I am trying this apex code-
public String owners{
get{
return [select owner.firstname from Account where ownerid=:this.account.ownerid][0].name;
}
private set;}
<apex:outputField action="{!owner}"/>
Log In to reply.
Popular Salesforce Blogs
What Are the Key Qualities to Look for When Hiring Salesforce Consultants in India?
Blog
in Salesforce Consultant
In the dynamic landscape of business, Salesforce has emerged as a pivotal platform for companies seeking to streamline their operations, enhance customer relationships, and drive…
Collections In Salesforce | Apex Developer Guide
Blog
in Others, Salesforce
List A rundown (likewise called a cluster) is a variable speaking to an arranged assortment of components that are distinguished by their lists. The record…
Build a Salesforce Lead Machine Easily
Blog
in Salesforce
“There is a difference between — waiting for something good to happen and going all out to make it happen”. One of the biggest aspects…