function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
stollmeyerastollmeyera 

Looking for examples of custom extension

I am in the process of writing a controller extension and am having a lot of difficulty.  Using the Opp as the standard controller, I am trying to allow a user to update input fields for a child Opportunity and parent Account.  I then need to override the save method to save the Account first and then the Opportunity second.  Does anyone have an example of a similar extension that I can use as a reference?