Apex Basics & Database Module Trailhead Solutions

Create a method for inserting accounts To pass this challenge, create an Apex class that inserts a new account named after an incoming parameter. If the account is successfully inserted, the method should return the account record. If a DML exception occurs, the...

Apex & .NET Basics Module Trailhead Solutions

Create an Apex class that returns Account objects To pass this challenge, create an Apex class that returns a List of Account objects for a user-specified state. Create an Apex class named AccountUtils and include a static method named accountsByState that accepts a...

Advanced Formulas Module Trailhead Solutions

Create a validation rule indicating whether an opportunity has a closed date in the past Your number-crushing sales team has so many deals in the pipeline, you’re starting to see occasional problems with data quality. Namely, sales reps are forgetting to update the...

Visualforce Mobile Module Trailhead Solutions

Add a Visualforce Page to the Salesforce App Navigation Menu Create a simple ‘hello world’-style Visualforce page and add it to the Salesforce app navigation menu. The page: Must be named ‘HelloMobile’. Must display a simple ‘Hello mobile...