Hands on with Apex

Report 11 Downloads 114 Views
Hands on with Apex I learned to code and you can too.

Hands on with Apex I learned to code and you can too.

Starley Flynn SFDC platform since 2015 Learned programming concurrently with Awesome Admin skills Love Solving Business Problems and Coaching

Hands on with Apex I learned to code and you can too.

Tour of the Developer Console

Classes & Triggers ◎ Class ◎ Trigger A special kind of class

Variables ◎ Defined in a class and are the attributes of an object

Methods ◎

Pseudo Code and Comments

I know I want to code something...now what?

Putting it All Together - Coding Exercise Use Case: We would like to assign the rating of all newly created leads with a rating of ‘Hot’ if there are greater than 5 employees, and otherwise set it to a rating of ‘Warm’.

In real life, this could be accomplished with workflow or Process builder so we wouldn’t even need to code this out! However, we will code it out...as it is an example that can be completed within our time constraints.

Questions and Resources Womencodeheros.com Salesforce Stack Exchange Youtube: Get Started with Apex Code for Admins, Apex for Admins Trailhead! Salesforce Developer Cheat Sheets -- Apex Code Cheat Sheet