-
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
Chrome Blocking Mixed Content in Salesforce - All You Need To Know
Substance over HTTPS is getting to be a more grounded browser necessity. Google Chrome is presenting an arrangement of notices and will start blocking blended…
Supercharge Support Agents with These Lesser-Known Salesforce Service Cloud Features
We are living in a time when customer experience matters the most for a business. A disappointed customer will take no longer a minute to…
Optimizing Community Management through Khoros and Salesforce Integration
With its extensive set of capabilities, Khoros is a powerful platform that has great potential in the world of online communities. On the other hand,…