-
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
How to Run Customer Success and SaaS Sales in Salesforce
Blog
in Salesforce
If you sell physical products using a traditional sales model, a Customer Relationship Management (CRM) platform like Salesforce should deliver all the value you need…
Easy Way to Integrate Salesforce CLI with Visual Studio Code
Blog
in Salesforce integration
What is Salesforce CLI? Salesforce CLI is a command-line interface that simplifies development and builds automation when working together with your Salesforce org. Use it…
What Do Salesforce MVP Think About Certification?
Blog
in Salesforce Certifications
How to Get a free Salesforce Certification? Did you know that if you earn your first Salesforce certification between July 1 and September 30, 2022,…