mastering force.com platform services

24
Mastering Force.com Platform Services Developers Ryan Spraetz: Platform Product Manager, salesforce.com

Upload: salesforce

Post on 07-Nov-2014

1.073 views

Category:

Business


2 download

DESCRIPTION

Ever dreamed of being an application developer? You may be closer than you think. The Force.com platform provides many tools and capabilities for developers. But writing Force.com code (Apex) or Force.com pages (Visualforce) markup is only part of the story. In this session, you'll learn how to harness the power of the platform without writing code. Find out how to create real business applications leveraging platform services such as data modeling, complex workflow and approval processes, email notifications, and more.

TRANSCRIPT

Page 1: Mastering Force.com Platform Services

Mastering Force.com Platform ServicesDevelopers

Ryan Spraetz: Platform Product Manager, salesforce.com

Page 2: Mastering Force.com Platform Services

Safe HarborSafe 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 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, 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-K for the most recent fiscal year ended January 31, 2010. This documents and others 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 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: Mastering Force.com Platform Services

Problem!!!

You are an IT Systems Manager.

The Sales Team has gadgets that they take with them on

sales calls – Projectors and iPads.

Recently, some of the gadgets have gone missing…

You are tasked with making a tracking system for these

resources.

Page 4: Mastering Force.com Platform Services

To Code…Or Not to Code

Why use “Point and Click” customizations– Ease

– Speed

– Maintainability

Why use Programmatic Tools?– Power

Use Point and Click tools where possible!

Page 5: Mastering Force.com Platform Services

So You’re Ready to Build an App?

Data Model

Data Validation

Business Logic

Business Process

User Interface

Access Controls

Page 6: Mastering Force.com Platform Services

Data Model

Data Validation

Business Logic

Business Process

User Interface

Access Controls

Page 7: Mastering Force.com Platform Services

Managing Data and Data Storage

Object Model– One-Click Object Creation

Relationships– Lookup vs. Master Detail

– 1-to-Many, Many-to-Many, 1-to-1

Calculated Fields– Formulas (Fields, Default Values)

– Rollup Summary Fields

No SQL, No Scripts, Just Clicks.

Page 8: Mastering Force.com Platform Services

What You Get For Free

Creating a Custom Object gives you

Record Detail Page

Record Edit Page

Reporting Capabilities

Ability to create tasks on the object

Ability to create and store notes.

Page 9: Mastering Force.com Platform Services

GadgetTracker Data Model

Resource

Serial Number

iPad Features

Available

Projector Brand

Resource Check Out

Resource (FK)

User (FK)

Planned Return Date

Returned

Page 10: Mastering Force.com Platform Services

Data Modeling Demo

On the Resource Check Out object, create a Custom

Field to allow users to select the date they will return

the Resource. Default the value of the field to be two

weeks from now. Click.

On the Resource Check Out object, create a field to

select the specific Resource that you want to check out.

Click.

Page 11: Mastering Force.com Platform Services

Data Validation – Keep it Clean

Create Validation Rules– Easy-to-Make Formulas for Error Conditions

– Custom Error Messages

– No Maintaining Code!

Create Filtered Lookups– Data Quality and End User Productivity

– Only See Relevant Data

Page 12: Mastering Force.com Platform Services

Data Validation – Clicks or Code?

How you can do your Data Validation– Validation Rules

– Triggers (Requires Code)

– Controller Logic (Requires Even More Code)

Why Validation Rules? – Maintainable by Non-Technical Administrators

– No Tests

– No Deploy

– No Need to Reference Code Over and Over

Page 13: Mastering Force.com Platform Services

Data Validation Demo

When a user tries to select a Resource, make sure they

can only choose Resources that are available. Click.

Make sure that no one can check something out for

longer than two weeks. Click.

Page 14: Mastering Force.com Platform Services

Data Model

Data Validation

Business Logic

Business Process

User Interface

Access Controls

Page 15: Mastering Force.com Platform Services

Business Logic – Automate

Workflow Rules– Waiting to fire actions

– Similar to Triggers/Stored Procedures

Approval Processes– Multi-step

– Fire actions on each step

Page 16: Mastering Force.com Platform Services

Business Logic – Actions

Field Updates– Cross Object Field Updates

Task Creation– Automate follow tasks

Email Notifications– Notify users

Outbound Messages– Notify external systems

Page 17: Mastering Force.com Platform Services

Business Logic Demo

Make sure that all check out requests must be

approved by you. Click.

Once a checkout request has been approved, mark the

resource as unavailable. Click.

Page 18: Mastering Force.com Platform Services

Data Model

Data Validation

Business Logic

Business Process

User Interface

Access Controls

Page 19: Mastering Force.com Platform Services

User Interface and Access Controls

Page Layouts– Organize and Beautify

– When to use Visualforce

– When to use inline Visualforce

Record Types– Dynamic UI based on Data Subtypes

Object Level Security– CRUD (Profile Based)

Field Level Security– FLS (Profile Based)

Page 20: Mastering Force.com Platform Services

UI and Access Controls Demo

Make it such that iPad specific fields don’t show up

when viewing Projectors and vice versa. Click.

Make the Available field on Resources read-only for

non-SysAdmins and hide the COW Trigger field on

Resource Checkout. Click.

Page 21: Mastering Force.com Platform Services

Questions?

Page 22: Mastering Force.com Platform Services

Mastering Force.com Platform Services

Page 23: Mastering Force.com Platform Services

D I S C O V E R

Visit the Developer Training and Support Booth in Force.com Zone

Discover

Developer

Learning Paths

Developer training, certification and support resources

S U C C E S SFind us in the Partner Demo Area of

Force.com Zone 2nd Floor Moscone West

that help you achieve

Learn about Developer

Certifications

Page 24: Mastering Force.com Platform Services

How Could Dreamforce Be Better? Tell Us!

Log in to the Dreamforce app to submit

surveys for the sessions you attendedUse the

Dreamforce Mobile app to submit

surveysEvery session survey you submit is

a chance to win an iPod nano!

OR