Skip to content

Instantly share code, notes, and snippets.

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();
Copy link

Szandor72 commented May 24, 2017

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

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