apex for admins: get started with apex in 30 minutes! (part 1)

31
Apex for Admins Get Started with Apex in 30 minutes May 15, 2014

Upload: salesforce-developers

Post on 26-Jan-2015

108 views

Category:

Technology


1 download

DESCRIPTION

Description In this webinar we will introduce you to Apex, and then walk you through the process of writing and deploying a basic trigger in your development environment. This series serves as an Introduction to Apex for Salesforce Administrators with no programming background. This is the first in a 3-part series with David Liu and LeeAnne Templeman. David Liu is the creator of sfdc99.com, an intro to Apex exercise guide for all Salesforce Admins. David is a self-taught Salesforce MVP who began his path as a marketer and is now the Salesforce Technical Architect for Google. He will share some of his own learning path, as well as tips and tricks on how to become a Salesforce developer. Key Takeaways See how quickly you can pick up the Force.com programming language and build triggers on your own! Learn what a test class is, and how to write, modify and deploy a basic trigger Understand when to use Apex and when to use core Salesforce tools like workflows and approvals Expand the automation capabilities in your Salesforce environment to increase adoption and data quality Understand core terms and development processes Series Targeted Audience: Salesforce Admins with experience developing point-and-click applications on the Force.com platform. Related Resources Apex Overview Page Apex Developer Guide Apex Workbook sfdc99.com Chapter 1: Write Your First Trigger from Start to Finish! Head First Java

TRANSCRIPT

Page 1: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

Apex for AdminsGet Started with Apex in 30 minutesMay 15, 2014

Page 2: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Safe Harbor

Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Speakers

David

LiuTechnical Architect, MVP

@dvdkliu

LeeAnne

TemplemanDeveloper Evangelist

@leeanndroid

Page 4: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Engage with the Community

@salesforcedevs / #forcewebinar

Salesforce Developers

Salesforce Developers

The video will be posted to YouTube & the webinar recap page

(same URL as registration).

This webinar is being recorded!Success Community

Page 5: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Have Questions?

We have an expert support team at the ready to answer your questions during the webinar.

Ask your questions via the GoToWebinar questions pane.

The speakers will chose top questions to answer live at the end of the webinar.

Please post your questions as we go along!

Only post your question once; we’ll get to it as we go down the list.

Page 6: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Have Questions?

Don’t wait until the end to ask your question! – Technical support will answer questions starting now.

Respect Q&A etiquette– Please don’t repeat questions. The support team is

working their way down the queue.

Stick around for live Q&A at the end– Speakers will tackle more questions at the end, time-

allowing.

Head to Developer Forums– More questions? Visit developer.salesforce.com/forums

Page 7: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Introduction to Apex

Who are we?

What is Apex?

Who should be tuning in?

When do you use Apex?

Beyond Declarative

Apex Triggers

Other Apex Use Cases

Page 8: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

David’s Path

Page 9: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Getting Started

Page 10: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

But Then….

Page 11: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

David’s Top Tips!

Attend all 3 #Apex4Admins webinars

Do tutorials & quizzes on SFDC99.com

Be active on the Success Community

Read “Head First Java”

Hard work beats talent

Find ways to make coding fun

Page 12: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

www.SFDC99.com

Page 13: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

How To Get A Salesforce Dream Job

Get Certified!

Be Social

Quality over Quantity

Be Persistent

Think Long Term

Remember, you are a Tiger!

Page 14: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Don’t Miss Out!

http://bit.ly/df14-apex4admins

$899 Discount Code:

D14DVLPR

Page 15: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

What is Apex?

Salesforce language

Popular

Beyond point and click

Page 16: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Declarative and Programmatic

Declarative Programmatic

Visualforce PagesVisualforce Components

Apex ControllersApex Triggers

Metadata APIREST APIBulk API

WorkflowsValidation Rules

Approval Processes

ObjectsFields

Relationships

Page LayoutsRecord Types

User Interface

Business Logic

Data Model

Page 17: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Declarative and Programmatic

Declarative Programmatic

Visualforce PagesVisualforce Components

Apex ControllersApex Triggers

Metadata APIREST APIBulk API

WorkflowsValidation Rules

Approval Processes

ObjectsFields

Relationships

Page LayoutsRecord Types

User Interface

Business Logic

Data Model

Page 18: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Every Object, Every Field: Apex and Visualforce Enabled

Visualforce PagesVisualforce Components

Apex ControllersApex Triggers

Custom UI

Custom Logic

Page 19: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Every Object, Every Field: Apex and Visualforce Enabled

Visualforce PagesVisualforce Components

Apex ControllersApex Triggers

Custom UI

Custom Logic

Page 20: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Anatomy of a Trigger

Chapter 1:

Page 21: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Glossary of Terms

Salesforce Keyword

Variable

Free Text Important!

Page 22: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Exercise

Let’s write a Trigger!

Page 23: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

What is a Test Class?

When do we use Test Classes?

What are the requirements?

Test Class vs. Trigger

Why should I care?

Page 24: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Anatomy of a Test Class

Salesforce Keyword

Variable

Free Text Important!

Page 25: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Exercise!

Let’s write a Test Class!

Page 26: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Recap

Getting Started

What is Apex?

Where do we write Apex?

When do we use Apex?

Apex Triggers

Apex Test Classes

Page 27: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

So Where Do I Start?

Get your Developer Edition Org

Sandbox– Change Sets

DE vs Trial?

Page 28: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

#forcewebinar

Resources

Developer Forums – http://developer.salesforce.com/forums

SFDC99 – David’s Site

– http://sfdc99.com

Join the community– #Apex4Admins #AskForce

Page 29: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

May 22nd Apex for Admins: Build on the Basics!

http://bit.ly/Apex4Admins-2• SOQL• Cross-Object Queries• Learn to write Loop and IF statements• Explore different Trigger variables• Deeper into Triggers

Page 30: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

Q & A

#forcewebinar

David

LiuTechnical Architect, MVP

@dvdkliu

LeeAnne

TemplemanDeveloper Evangelist@leeanndroid

Page 31: Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)

Survey

Your feedback is crucial to the successof our webinar programs. Thank you!

http://bit.ly/Apex4Admins1

#forcewebinar