Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
basic VF Extension template
public with sharing class AccountExtensionController
{
private ApexPages.StandardController standardController;
public AccountExtensionController(ApexPages.StandardController standardController)
{
this.standardController = standardController;
}
public void nextStep(){
Account myAccount = (Account) standardController.getRecord();
}
}
@Szandor72
Copy link
Author

Szandor72 commented May 24, 2017

<apex:page StandardController="Account" extensions="AccountExtensionController">
</apex:page>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment