+ Start a Discussion
Rodolfo CalvoRodolfo Calvo 

Call apex class from visualforce

Hello team, 

I am developing my app in salesforce, but I have a question, is it possible to call a class from VF?
<apex:page standardController="Account" showHeader="true">
This is the header of my visualforce page, I need to call a class where I have some other functions. Email, updating and more. How can I call it? I get into developer console and I press file - new - apex class and I just stated to code. 

Can somebody help me with this issue please?
Thanks in advance. 
 
sfdcsushilsfdcsushil
Of course you can do that. I think you need to read some documentation on Visualforce pages. That will help you clear basics.
For now, if you study about Apex ActionFunctions , that should help. 
Hargobind_SinghHargobind_Singh
You can get information here: its called "extensions" where you can extend the functionality provided by standard controllers by your own custom code: 

https://developer.salesforce.com/page/Introduction_to_Controllers_and_Extensions


 
Rodolfo CalvoRodolfo Calvo
I will check it out! Thanks!! :D I hope every answer was such this!